summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorsyuilo <Syuilotan@yahoo.co.jp>2021-07-25 13:07:08 +0900
committersyuilo <Syuilotan@yahoo.co.jp>2021-07-25 13:07:08 +0900
commit98249942d53f773f8904d0fadb49a2af15e3c6aa (patch)
tree30468c11eca8b16a01f101f9260b2dbac1d8a620 /src
parent:art: (diff)
downloadsharkey-98249942d53f773f8904d0fadb49a2af15e3c6aa.tar.gz
sharkey-98249942d53f773f8904d0fadb49a2af15e3c6aa.tar.bz2
sharkey-98249942d53f773f8904d0fadb49a2af15e3c6aa.zip
fix bug
Diffstat (limited to 'src')
-rw-r--r--src/client/store.ts2
-rw-r--r--src/client/ui/default.vue6
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<string, any>;
}[]
},
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: {}
}]);
}
},