Hide icons in note tabs, always show reply tab (#10176)
This commit is contained in:
commit
fd03d443ef
|
@ -35,39 +35,31 @@
|
||||||
|
|
||||||
<MkTab
|
<MkTab
|
||||||
v-model="tab"
|
v-model="tab"
|
||||||
:style="
|
:style="'underline'"
|
||||||
appearNote.repliesCount > 0 &&
|
|
||||||
appearNote.renoteCount > 0 &&
|
|
||||||
reactionsCount > 0 &&
|
|
||||||
directQuotes?.length > 0 &&
|
|
||||||
clips?.length > 0
|
|
||||||
? 'underline'
|
|
||||||
: ''
|
|
||||||
"
|
|
||||||
@update:modelValue="loadTab"
|
@update:modelValue="loadTab"
|
||||||
>
|
>
|
||||||
<option value="replies" v-if="appearNote.repliesCount > 0">
|
<option value="replies">
|
||||||
<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 v-if="appearNote.repliesCount > 0" class="count">{{ appearNote.repliesCount }}</span>
|
||||||
{{ i18n.ts._notification._types.reply }}
|
{{ i18n.ts._notification._types.reply }}
|
||||||
</option>
|
</option>
|
||||||
<option value="renotes" v-if="appearNote.renoteCount > 0">
|
<option value="renotes" v-if="appearNote.renoteCount > 0">
|
||||||
<i class="ph-repeat ph-bold ph-lg"></i>
|
<!-- <i class="ph-repeat ph-bold ph-lg"></i> -->
|
||||||
<span class="count">{{ appearNote.renoteCount }}</span>
|
<span class="count">{{ appearNote.renoteCount }}</span>
|
||||||
{{ i18n.ts._notification._types.renote }}
|
{{ i18n.ts._notification._types.renote }}
|
||||||
</option>
|
</option>
|
||||||
<option value="reactions" v-if="reactionsCount > 0">
|
<option value="reactions" v-if="reactionsCount > 0">
|
||||||
<i class="ph-smiley ph-bold ph-lg"></i>
|
<!-- <i class="ph-smiley ph-bold ph-lg"></i> -->
|
||||||
<span class="count">{{ reactionsCount }}</span>
|
<span class="count">{{ reactionsCount }}</span>
|
||||||
{{ i18n.ts.reaction }}
|
{{ i18n.ts.reaction }}
|
||||||
</option>
|
</option>
|
||||||
<option value="quotes" v-if="directQuotes?.length > 0">
|
<option value="quotes" v-if="directQuotes?.length > 0">
|
||||||
<i class="ph-quotes ph-bold ph-lg"></i>
|
<!-- <i class="ph-quotes ph-bold ph-lg"></i> -->
|
||||||
<span class="count">{{ directQuotes.length }}</span>
|
<span class="count">{{ directQuotes.length }}</span>
|
||||||
{{ i18n.ts._notification._types.quote }}
|
{{ i18n.ts._notification._types.quote }}
|
||||||
</option>
|
</option>
|
||||||
<option value="clips" v-if="clips?.length > 0">
|
<option value="clips" v-if="clips?.length > 0">
|
||||||
<i class="ph-paperclip ph-bold ph-lg"></i>
|
<!-- <i class="ph-paperclip ph-bold ph-lg"></i> -->
|
||||||
<span class="count">{{ clips.length }}</span>
|
<span class="count">{{ clips.length }}</span>
|
||||||
{{ i18n.ts.clips }}
|
{{ i18n.ts.clips }}
|
||||||
</option>
|
</option>
|
||||||
|
|
Loading…
Reference in New Issue