mirror of
https://iceshrimp.dev/limepotato/jormungandr-bite.git
synced 2025-03-04 07:18:50 -07:00
fix bug
This commit is contained in:
parent
23a9668ad7
commit
9c59d57d7a
2 changed files with 4 additions and 4 deletions
src/client
|
@ -90,7 +90,7 @@ export const defaultStore = markRaw(new Storage('base', {
|
||||||
default: [] as {
|
default: [] as {
|
||||||
name: string;
|
name: string;
|
||||||
id: string;
|
id: string;
|
||||||
place: string;
|
place: string | null;
|
||||||
data: Record<string, any>;
|
data: Record<string, any>;
|
||||||
}[]
|
}[]
|
||||||
},
|
},
|
||||||
|
|
|
@ -115,13 +115,13 @@ export default defineComponent({
|
||||||
if (this.$store.state.widgets.length === 0) {
|
if (this.$store.state.widgets.length === 0) {
|
||||||
this.$store.set('widgets', [{
|
this.$store.set('widgets', [{
|
||||||
name: 'calendar',
|
name: 'calendar',
|
||||||
id: 'a', place: 'right', data: {}
|
id: 'a', place: null, data: {}
|
||||||
}, {
|
}, {
|
||||||
name: 'notifications',
|
name: 'notifications',
|
||||||
id: 'b', place: 'right', data: {}
|
id: 'b', place: null, data: {}
|
||||||
}, {
|
}, {
|
||||||
name: 'trends',
|
name: 'trends',
|
||||||
id: 'c', place: 'right', data: {}
|
id: 'c', place: null, data: {}
|
||||||
}]);
|
}]);
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
Loading…
Add table
Reference in a new issue