Update PostComponent, fix bug affecting moment ui and non authenticated users

This commit is contained in:
Daniel Supernault 2019-11-12 20:45:46 -07:00
parent f3fca8d998
commit 7b3fe2159a
No known key found for this signature in database
GPG key ID: 0DEF1C662C9033F7

View file

@ -342,7 +342,7 @@
</div>
<div class="col-12 col-md-4 pt-4 pl-md-3">
<p class="lead font-weight-bold">Comments</p>
<div v-if="user" class="moment-comments">
<div v-if="user && user.length" class="moment-comments">
<div class="form-group">
<textarea class="form-control" rows="3" placeholder="Add a comment ..." v-model="replyText"></textarea>
<p style="padding-top:4px;">