mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-10-04 03:20:44 +00:00
Rebuild frontend.
This commit is contained in:
13
frontend/src/pages/accounts/show.js
vendored
13
frontend/src/pages/accounts/show.js
vendored
@@ -36,5 +36,16 @@ const app = new Vue({
|
||||
store,
|
||||
render(createElement) {
|
||||
return createElement(Show, {props: props});
|
||||
}
|
||||
},
|
||||
beforeCreate() {
|
||||
// See reference nr. 10
|
||||
this.$store.commit('initialiseStore');
|
||||
this.$store.dispatch('updateCurrencyPreference');
|
||||
|
||||
// init the new root store (dont care about results)
|
||||
this.$store.dispatch('root/initialiseStore');
|
||||
|
||||
// also init the dashboard store.
|
||||
this.$store.dispatch('dashboard/index/initialiseStore');
|
||||
},
|
||||
}).$mount('#accounts_show');
|
||||
|
Reference in New Issue
Block a user