From 98249942d53f773f8904d0fadb49a2af15e3c6aa Mon Sep 17 00:00:00 2001 From: syuilo Date: Sun, 25 Jul 2021 13:07:08 +0900 Subject: [PATCH] fix bug --- src/client/store.ts | 2 +- src/client/ui/default.vue | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/client/store.ts b/src/client/store.ts index 2ae9cd790f..6ca431e059 100644 --- a/src/client/store.ts +++ b/src/client/store.ts @@ -90,7 +90,7 @@ export const defaultStore = markRaw(new Storage('base', { default: [] as { name: string; id: string; - place: string; + place: string | null; data: Record; }[] }, diff --git a/src/client/ui/default.vue b/src/client/ui/default.vue index afaa96cece..5e79cd3830 100644 --- a/src/client/ui/default.vue +++ b/src/client/ui/default.vue @@ -115,13 +115,13 @@ export default defineComponent({ if (this.$store.state.widgets.length === 0) { this.$store.set('widgets', [{ name: 'calendar', - id: 'a', place: 'right', data: {} + id: 'a', place: null, data: {} }, { name: 'notifications', - id: 'b', place: 'right', data: {} + id: 'b', place: null, data: {} }, { name: 'trends', - id: 'c', place: 'right', data: {} + id: 'c', place: null, data: {} }]); } },