mirror of
https://iceshrimp.dev/crimekillz/iceshrimp-161sh.git
synced 2024-11-22 20:23:49 +01:00
fix bug
This commit is contained in:
parent
23a9668ad7
commit
9c59d57d7a
@ -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 New Issue
Block a user