refactor conditions

This commit is contained in:
taehoon 2019-10-24 22:41:15 -04:00
parent 644343ccda
commit c5e391b606

View file

@ -205,14 +205,10 @@
</span> </span>
</div> </div>
<div <div
v-if="inConversation && !isPreview" v-if="inConversation && !isPreview && replies && replies.length"
class="replies" class="replies"
> >
<span <span class="faint">{{ $t('status.replies_list') }}</span>
v-if="replies && replies.length"
class="faint"
>{{ $t('status.replies_list') }}</span>
<template v-if="replies">
<span <span
v-for="reply in replies" v-for="reply in replies"
:key="reply.id" :key="reply.id"
@ -225,7 +221,6 @@
@mouseout="replyLeave()" @mouseout="replyLeave()"
>{{ reply.name }}</a> >{{ reply.name }}</a>
</span> </span>
</template>
</div> </div>
</div> </div>
</div> </div>