From 69eee9f05024776b1f3d4a16e9b52ced8b7152cd Mon Sep 17 00:00:00 2001 From: syuilo <4439005+syuilo@users.noreply.github.com> Date: Sun, 9 Mar 2025 15:13:49 +0900 Subject: enhance(frontend): ウィジェットもpreference管理に MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- packages/frontend/src/store.ts | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) (limited to 'packages/frontend/src/store.ts') 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; - }[], - }, 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; + }[], + }, defaultSideView: { where: 'device', default: false, -- cgit v1.2.3-freya