mirror of
https://iceshrimp.dev/crimekillz/iceshrimp-161sh.git
synced 2024-11-22 12:13:48 +01:00
don't show underline if no tabs
This commit is contained in:
parent
1abda5e8e7
commit
8da250059d
@ -33,7 +33,19 @@
|
||||
detailedView
|
||||
></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">
|
||||
<i class="ph-arrow-u-up-left ph-bold ph-lg"></i>
|
||||
<span class="count">{{ appearNote.repliesCount }}</span>
|
||||
|
Loading…
Reference in New Issue
Block a user