mirror of
https://git.joinsharkey.org/Sharkey/Sharkey.git
synced 2024-11-19 04:23:09 +02:00
Better initial widgets
This commit is contained in:
parent
5268bade66
commit
3d1239c1b4
1 changed files with 7 additions and 1 deletions
|
@ -234,8 +234,14 @@ export default Vue.extend({
|
||||||
|
|
||||||
if (this.widgets.length === 0) {
|
if (this.widgets.length === 0) {
|
||||||
this.$store.dispatch('settings/setWidgets', [{
|
this.$store.dispatch('settings/setWidgets', [{
|
||||||
name: 'notifications',
|
name: 'calendar',
|
||||||
id: 'a', data: {}
|
id: 'a', data: {}
|
||||||
|
}, {
|
||||||
|
name: 'notifications',
|
||||||
|
id: 'b', data: {}
|
||||||
|
}, {
|
||||||
|
name: 'trends',
|
||||||
|
id: 'c', data: {}
|
||||||
}]);
|
}]);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue