1
0
Fork 0

Update PostComponent.vue, fix MomentUI caption

This commit is contained in:
Daniel Supernault 2020-02-09 20:14:25 -07:00
parent c076e9a7b6
commit aa6d8c8f85
No known key found for this signature in database
GPG Key ID: 0DEF1C662C9033F7
1 changed files with 1 additions and 1 deletions

View File

@ -300,7 +300,7 @@
<div class="media align-items-center mt-3">
<div class="media-body">
<h2 class="font-weight-bold">
{{status.content.length < 100 ? status.content.slice(0,100) : 'Untitled Post'}}
{{status.content.length > 100 ? status.content.slice(0,100) : 'Untitled Post'}}
</h2>
<p class="lead mb-0">
by <a :href="statusProfileUrl">{{statusUsername}}</a>