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

View file

@ -300,7 +300,7 @@
<div class="media align-items-center mt-3"> <div class="media align-items-center mt-3">
<div class="media-body"> <div class="media-body">
<h2 class="font-weight-bold"> <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> </h2>
<p class="lead mb-0"> <p class="lead mb-0">
by <a :href="statusProfileUrl">{{statusUsername}}</a> by <a :href="statusProfileUrl">{{statusUsername}}</a>