summaryrefslogtreecommitdiff
path: root/packages/frontend/src/store.ts
diff options
context:
space:
mode:
authorかっこかり <67428053+kakkokari-gtyih@users.noreply.github.com>2024-04-13 12:51:37 +0900
committerGitHub <noreply@github.com>2024-04-13 12:51:37 +0900
commitf5100cc81f6ffdcfe2b9bf6041f97098a4e82d02 (patch)
tree6bfd501343523a276ab0168d238819a17c9a877d /packages/frontend/src/store.ts
parentenhance(frontend): add link of 2fa guide (diff)
downloadsharkey-f5100cc81f6ffdcfe2b9bf6041f97098a4e82d02.tar.gz
sharkey-f5100cc81f6ffdcfe2b9bf6041f97098a4e82d02.tar.bz2
sharkey-f5100cc81f6ffdcfe2b9bf6041f97098a4e82d02.zip
feat(frontend): アップロードするファイルの名前をランダム文字列にできるように (#13688)
* feat(frontend): アップロードするファイルの名前をランダム文字列にできるように * Update Changelog * refactor * 設定項目を移動 * fix * 「オリジナルのファイル名を保持」に変更 * 拡張子を付加するように
Diffstat (limited to 'packages/frontend/src/store.ts')
-rw-r--r--packages/frontend/src/store.ts4
1 files changed, 4 insertions, 0 deletions
diff --git a/packages/frontend/src/store.ts b/packages/frontend/src/store.ts
index faefbd8ce4..9b5011739a 100644
--- a/packages/frontend/src/store.ts
+++ b/packages/frontend/src/store.ts
@@ -446,6 +446,10 @@ export const defaultStore = markRaw(new Storage('base', {
where: 'device',
default: false,
},
+ keepOriginalFilename: {
+ where: 'device',
+ default: true,
+ },
sound_masterVolume: {
where: 'device',