refactor conditions
This commit is contained in:
parent
644343ccda
commit
c5e391b606
1 changed files with 13 additions and 18 deletions
|
@ -205,27 +205,22 @@
|
||||||
</span>
|
</span>
|
||||||
</div>
|
</div>
|
||||||
<div
|
<div
|
||||||
v-if="inConversation && !isPreview"
|
v-if="inConversation && !isPreview && replies && replies.length"
|
||||||
class="replies"
|
class="replies"
|
||||||
>
|
>
|
||||||
|
<span class="faint">{{ $t('status.replies_list') }}</span>
|
||||||
<span
|
<span
|
||||||
v-if="replies && replies.length"
|
v-for="reply in replies"
|
||||||
class="faint"
|
:key="reply.id"
|
||||||
>{{ $t('status.replies_list') }}</span>
|
class="reply-link faint"
|
||||||
<template v-if="replies">
|
>
|
||||||
<span
|
<a
|
||||||
v-for="reply in replies"
|
href="#"
|
||||||
:key="reply.id"
|
@click.prevent="gotoOriginal(reply.id)"
|
||||||
class="reply-link faint"
|
@mouseenter="replyEnter(reply.id, $event)"
|
||||||
>
|
@mouseout="replyLeave()"
|
||||||
<a
|
>{{ reply.name }}</a>
|
||||||
href="#"
|
</span>
|
||||||
@click.prevent="gotoOriginal(reply.id)"
|
|
||||||
@mouseenter="replyEnter(reply.id, $event)"
|
|
||||||
@mouseout="replyLeave()"
|
|
||||||
>{{ reply.name }}</a>
|
|
||||||
</span>
|
|
||||||
</template>
|
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
Loading…
Reference in a new issue