summaryrefslogtreecommitdiff
path: root/packages/frontend/src/store.ts
diff options
context:
space:
mode:
authortaichan <40626578+tai-cha@users.noreply.github.com>2025-01-14 22:49:59 +0900
committerGitHub <noreply@github.com>2025-01-14 13:49:59 +0000
commit9760f3d7c9113f5436732bf6d6e454b253061b1d (patch)
treeecc41ca918feec1d8a45f2e91e1bf03cab2604c9 /packages/frontend/src/store.ts
parentBump version to 2025.1.0-beta.1 (diff)
downloadsharkey-9760f3d7c9113f5436732bf6d6e454b253061b1d.tar.gz
sharkey-9760f3d7c9113f5436732bf6d6e454b253061b1d.tar.bz2
sharkey-9760f3d7c9113f5436732bf6d6e454b253061b1d.zip
enhance(frontend): ワードミュートで引っかかったワードを表示可能にする (#15195)
* feat(frontend): ソフトミュートで引っかかったものを表示できるように * ソフトワードミュートのミュート文字列表示を切り替え可能に * Chore(docs): Update CHANGELOG * Fix: language file * Fixed by review * Fix by review * Fix: reloadAskなおしきれていなかった * perf: filter -> findに変更して最初の一個のみを表示するように変更 * Revert "perf: filter -> findに変更して最初の一個のみを表示するように変更" This reverts commit 72ef92f0d62828754702cd00e26ad873adb4652f.
Diffstat (limited to 'packages/frontend/src/store.ts')
-rw-r--r--packages/frontend/src/store.ts6
1 files changed, 5 insertions, 1 deletions
diff --git a/packages/frontend/src/store.ts b/packages/frontend/src/store.ts
index 1d981e897b..dbe90dba86 100644
--- a/packages/frontend/src/store.ts
+++ b/packages/frontend/src/store.ts
@@ -9,10 +9,10 @@ import { hemisphere } from '@@/js/intl-const.js';
import lightTheme from '@@/themes/l-light.json5';
import darkTheme from '@@/themes/d-green-lime.json5';
import type { SoundType } from '@/scripts/sound.js';
+import type { Ast } from '@syuilo/aiscript';
import { DEFAULT_DEVICE_KIND, type DeviceKind } from '@/scripts/device-kind.js';
import { miLocalStorage } from '@/local-storage.js';
import { Storage } from '@/pizzax.js';
-import type { Ast } from '@syuilo/aiscript';
interface PostFormAction {
title: string,
@@ -474,6 +474,10 @@ export const defaultStore = markRaw(new Storage('base', {
where: 'device',
default: true,
},
+ showSoftWordMutedWord: {
+ where: 'device',
+ default: false,
+ },
sound_masterVolume: {
where: 'device',