fix(MkUserPopup): follow hideCounters value
This commit is contained in:
parent
0793a9ba84
commit
7c0aa30ed5
@ -30,7 +30,7 @@ SPDX-License-Identifier: AGPL-3.0-only
|
||||
<Mfm v-if="user.description" :class="$style.mfm" :text="user.description" :author="user"/>
|
||||
<div v-else style="opacity: 0.7;">{{ i18n.ts.noAccountDescription }}</div>
|
||||
</div>
|
||||
<div :class="$style.status">
|
||||
<div v-if="!hideCounters" :class="$style.status">
|
||||
<div :class="$style.statusItem">
|
||||
<div :class="$style.statusItemLabel">{{ i18n.ts.notes }}</div>
|
||||
<div>{{ number(user.notesCount) }}</div>
|
||||
@ -84,6 +84,7 @@ const zIndex = os.claimZIndex('middle');
|
||||
const user = ref<Misskey.entities.UserDetailed | null>(null);
|
||||
const top = ref(0);
|
||||
const left = ref(0);
|
||||
const hideCounters = defaultStore.state.hideCounters;
|
||||
|
||||
function showMenu(ev: MouseEvent) {
|
||||
if (user.value == null) return;
|
||||
|
Loading…
Reference in New Issue
Block a user