add shared-state-plugin
This commit is contained in:
parent
e91b64ca97
commit
67375bd281
7 changed files with 455 additions and 24 deletions
|
@ -28,7 +28,7 @@ export default {
|
|||
}),
|
||||
methods: {
|
||||
...mapMutations(['removeToast', 'createToast', 'closeAddBoxModal', 'openAddBoxModal']),
|
||||
...mapActions(['loadEvents']),
|
||||
...mapActions(['loadEvents', 'scheduleAfterInit']),
|
||||
openAddItemModal() {
|
||||
this.addItemModalOpen = true;
|
||||
},
|
||||
|
@ -44,6 +44,7 @@ export default {
|
|||
},
|
||||
created: function () {
|
||||
document.title = document.location.hostname;
|
||||
this.scheduleAfterInit(() => [this.loadEvents()]);
|
||||
}
|
||||
};
|
||||
</script>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue