summaryrefslogtreecommitdiff
path: root/packages/frontend/src/pages/settings/other.vue
diff options
context:
space:
mode:
authorかっこかり <67428053+kakkokari-gtyih@users.noreply.github.com>2026-03-05 19:24:30 +0900
committerGitHub <noreply@github.com>2026-03-05 19:24:30 +0900
commit3980b2ca55cdf6a694ef8cad911e161672c0444f (patch)
tree859c1a97202813247a0b59b43c8152e578eef8e9 /packages/frontend/src/pages/settings/other.vue
parentNew Crowdin updates (#17097) (diff)
downloadmisskey-3980b2ca55cdf6a694ef8cad911e161672c0444f.tar.gz
misskey-3980b2ca55cdf6a694ef8cad911e161672c0444f.tar.bz2
misskey-3980b2ca55cdf6a694ef8cad911e161672c0444f.zip
fix: review fixes (#17208)
* fix: OAuthのContent-Typeを正しく判定するように * fix(frontend): fix outdated comments * fix: storagePersistenceのtop-level awaitを解消 * fix * fix(frontend): add comment Co-Authored-By: anatawa12 <anatawa12@icloud.com> * fix * fix: rename `users/get-following-users-by-birthday` * fix: fix types * Update MkForm.vue * refactor utility/storage.ts --------- Co-authored-by: anatawa12 <anatawa12@icloud.com> Co-authored-by: syuilo <4439005+syuilo@users.noreply.github.com>
Diffstat (limited to 'packages/frontend/src/pages/settings/other.vue')
-rw-r--r--packages/frontend/src/pages/settings/other.vue4
1 files changed, 3 insertions, 1 deletions
diff --git a/packages/frontend/src/pages/settings/other.vue b/packages/frontend/src/pages/settings/other.vue
index 660647fff7..4facc696a4 100644
--- a/packages/frontend/src/pages/settings/other.vue
+++ b/packages/frontend/src/pages/settings/other.vue
@@ -165,7 +165,7 @@ import MkKeyValue from '@/components/MkKeyValue.vue';
import MkButton from '@/components/MkButton.vue';
import FormSlot from '@/components/form/slot.vue';
import * as os from '@/os.js';
-import { enableStoragePersistence, storagePersisted, storagePersistenceSupported } from '@/utility/storage.js';
+import { enableStoragePersistence, getStoragePersistenceStatusRef, storagePersistenceSupported } from '@/utility/storage.js';
import { ensureSignin } from '@/i.js';
import { i18n } from '@/i18n.js';
import { definePage } from '@/page.js';
@@ -180,6 +180,8 @@ import { cloudBackup } from '@/preferences/utility.js';
const $i = ensureSignin();
+const storagePersisted = await getStoragePersistenceStatusRef();
+
const reportError = prefer.model('reportError');
const enableCondensedLine = prefer.model('enableCondensedLine');
const skipNoteRender = prefer.model('skipNoteRender');