From 1a3c6f25a296f3d25b8ba8e5688bf23f26515108 Mon Sep 17 00:00:00 2001 From: Hazelnoot Date: Mon, 12 May 2025 13:39:12 -0400 Subject: simplify access to showSoftWordMutedWord --- packages/frontend/src/components/MkNoteSub.vue | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'packages/frontend/src/components/MkNoteSub.vue') diff --git a/packages/frontend/src/components/MkNoteSub.vue b/packages/frontend/src/components/MkNoteSub.vue index c017efa3f3..b975de85e1 100644 --- a/packages/frontend/src/components/MkNoteSub.vue +++ b/packages/frontend/src/components/MkNoteSub.vue @@ -78,7 +78,7 @@ SPDX-License-Identifier: AGPL-3.0-only - + @@ -186,7 +186,6 @@ async function removeReply(id: Misskey.entities.Note['id']) { const inTimeline = inject('inTimeline', false); const tl_withSensitive = inject>('tl_withSensitive', ref(true)); const muted = ref(checkMute(appearNote.value, $i?.mutedWords)); -const showSoftWordMutedWord = computed(() => prefer.s.showSoftWordMutedWord); /* Overload FunctionにLintが対応していないのでコメントアウト function checkMute(noteToCheck: Misskey.entities.Note, mutedWords: Array | undefined | null, checkOnly: true): boolean; -- cgit v1.2.3-freya