don't show underline if no tabs
This commit is contained in:
parent
3d9212c0d6
commit
6ef6b62fb2
1 changed files with 13 additions and 1 deletions
|
@ -33,7 +33,19 @@
|
||||||
detailedView
|
detailedView
|
||||||
></MkNote>
|
></MkNote>
|
||||||
|
|
||||||
<MkTab v-model="tab" :style="'underline'" @update:modelValue="loadTab">
|
<MkTab
|
||||||
|
v-model="tab"
|
||||||
|
:style="
|
||||||
|
appearNote.repliesCount > 0 &&
|
||||||
|
appearNote.renoteCount > 0 &&
|
||||||
|
reactionsCount > 0 &&
|
||||||
|
directQuotes?.length > 0 &&
|
||||||
|
clips?.length > 0
|
||||||
|
? 'underline'
|
||||||
|
: ''
|
||||||
|
"
|
||||||
|
@update:modelValue="loadTab"
|
||||||
|
>
|
||||||
<option value="replies" v-if="appearNote.repliesCount > 0">
|
<option value="replies" v-if="appearNote.repliesCount > 0">
|
||||||
<i class="ph-arrow-u-up-left ph-bold ph-lg"></i>
|
<i class="ph-arrow-u-up-left ph-bold ph-lg"></i>
|
||||||
<span class="count">{{ appearNote.repliesCount }}</span>
|
<span class="count">{{ appearNote.repliesCount }}</span>
|
||||||
|
|
Loading…
Reference in a new issue