fix: lint

This commit is contained in:
무라쿠모 2024-08-28 17:18:14 +09:00
parent 6bc715847d
commit 15c0c3a87d
No known key found for this signature in database
GPG key ID: 139D6573F92DA9F7

View file

@ -168,7 +168,7 @@ SPDX-License-Identifier: AGPL-3.0-only
</dl> </dl>
</div> </div>
<div class="status" v-if="!hideCounters"> <div v-if="!hideCounters" class="status">
<MkA :to="userPage(user)"> <MkA :to="userPage(user)">
<b>{{ number(user.notesCount) }}</b> <b>{{ number(user.notesCount) }}</b>
<span>{{ i18n.ts.notes }}</span> <span>{{ i18n.ts.notes }}</span>
@ -284,7 +284,7 @@ const editModerationNote = ref(false);
const hideModerationNote = !iAmModerator || (defaultStore.state.privateMode && defaultStore.state.hideModerationLog); const hideModerationNote = !iAmModerator || (defaultStore.state.privateMode && defaultStore.state.hideModerationLog);
const hideRoleList = defaultStore.state.privateMode && defaultStore.state.hideRoleList; const hideRoleList = defaultStore.state.privateMode && defaultStore.state.hideRoleList;
const hideCounters = defaultStore.reactiveState.hideCounters; const hideCounters = defaultStore.state.hideCounters;
watch(moderationNote, async () => { watch(moderationNote, async () => {
await misskeyApi('admin/update-user-note', { userId: props.user.id, text: moderationNote.value }); await misskeyApi('admin/update-user-note', { userId: props.user.id, text: moderationNote.value });