mirror of
https://iceshrimp.dev/limepotato/jormungandr-bite.git
synced 2024-11-26 11:57:34 -07:00
fix bug
This commit is contained in:
parent
23a9668ad7
commit
9c59d57d7a
2 changed files with 4 additions and 4 deletions
|
@ -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>;
|
||||
}[]
|
||||
},
|
||||
|
|
|
@ -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: {}
|
||||
}]);
|
||||
}
|
||||
},
|
||||
|
|
Loading…
Reference in a new issue