diff options
| author | syuilo <4439005+syuilo@users.noreply.github.com> | 2025-03-09 15:13:49 +0900 |
|---|---|---|
| committer | syuilo <4439005+syuilo@users.noreply.github.com> | 2025-03-09 15:13:49 +0900 |
| commit | 69eee9f05024776b1f3d4a16e9b52ced8b7152cd (patch) | |
| tree | c96974e54e41e2a7ae7045a3c65081129f4cc817 /packages/frontend/src/store.ts | |
| parent | refactor(frontend): relocate theme script (diff) | |
| download | misskey-69eee9f05024776b1f3d4a16e9b52ced8b7152cd.tar.gz misskey-69eee9f05024776b1f3d4a16e9b52ced8b7152cd.tar.bz2 misskey-69eee9f05024776b1f3d4a16e9b52ced8b7152cd.zip | |
enhance(frontend): ウィジェットもpreference管理に
Diffstat (limited to 'packages/frontend/src/store.ts')
| -rw-r--r-- | packages/frontend/src/store.ts | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/packages/frontend/src/store.ts b/packages/frontend/src/store.ts index b6bf0e5fba..32b4543f52 100644 --- a/packages/frontend/src/store.ts +++ b/packages/frontend/src/store.ts @@ -102,15 +102,6 @@ export const store = markRaw(new Storage('base', { where: 'device', default: false, }, - widgets: { - where: 'account', - default: [] as { - name: string; - id: string; - place: string | null; - data: Record<string, any>; - }[], - }, tl: { where: 'deviceAccount', default: { @@ -187,6 +178,15 @@ export const store = markRaw(new Storage('base', { }, //#region TODO: そのうち消す (preferに移行済み) + widgets: { + where: 'account', + default: [] as { + name: string; + id: string; + place: string | null; + data: Record<string, any>; + }[], + }, defaultSideView: { where: 'device', default: false, |