Feat: Move config and csv loading in app.vue
This commit is contained in:
parent
c924ce6ea6
commit
9b4b2f2ec9
@ -13,6 +13,10 @@ export default {
|
||||
name: 'app',
|
||||
components: {
|
||||
'navbar': navbar
|
||||
},
|
||||
mounted: function () {
|
||||
this.$store.dispatch('config/load')
|
||||
this.$store.dispatch('datas/find_csv')
|
||||
}
|
||||
}
|
||||
</script>
|
||||
|
@ -88,10 +88,6 @@ export default {
|
||||
tags_filter: []
|
||||
}
|
||||
},
|
||||
mounted: function () {
|
||||
this.$store.dispatch('config/load')
|
||||
this.$store.dispatch('datas/find_csv')
|
||||
},
|
||||
computed: {
|
||||
...mapGetters({
|
||||
'csvs': 'datas/csvs',
|
||||
|
Loading…
Reference in New Issue
Block a user