Remove TODO's.

This commit is contained in:
James Cole
2021-06-12 14:14:49 +02:00
parent 91b08d1772
commit 4614625f82
22 changed files with 54 additions and 54 deletions

View File

@@ -30,8 +30,8 @@ import IndexOptions from "../../components/accounts/IndexOptions";
let i18n = require('../../i18n');
let props = {};
// TODO: long lists are slow to load. Fix this.
// TODO add interest for liabilities
// See reference nr. 8
// See reference nr. 9
Vue.component('b-table', BTable);
Vue.component('b-pagination', BPagination);
@@ -45,7 +45,7 @@ new Vue({
return createElement(Index, {props: props});
},
beforeCreate() {
// init the old root store (TODO remove me)
// See reference nr. 10
this.$store.commit('initialiseStore');
this.$store.dispatch('updateCurrencyPreference');
@@ -64,7 +64,7 @@ new Vue({
render: (createElement) => {
return createElement(Calendar, {props: props});
},
// TODO init store as well?
// See reference nr. 11
});
new Vue({
@@ -74,5 +74,5 @@ new Vue({
render: (createElement) => {
return createElement(IndexOptions, {props: props});
},
// TODO init store as well?
// See reference nr. 12
});

View File

@@ -35,7 +35,7 @@ new Vue({
return createElement(Index, {props: props});
},
beforeCreate() {
// init the old root store (TODO remove me)
// See reference nr. 13
//this.$store.commit('initialiseStore');
//this.$store.dispatch('updateCurrencyPreference');

View File

@@ -43,7 +43,7 @@ import store from '../components/store';
* vue, uiv and vuei18n are in app_vue.js
*/
// TODO pretty sure not all categories, budgets and other objects are picked up because they're paginated.
// See reference nr. 14
require('../bootstrap');
require('chart.js');
@@ -78,7 +78,7 @@ new Vue({
return createElement(Dashboard, {props: props});
},
beforeCreate() {
// TODO migrate to "root" store.
// See reference nr. 15
this.$store.commit('initialiseStore');
this.$store.dispatch('updateCurrencyPreference');
this.$store.dispatch('root/initialiseStore');
@@ -92,5 +92,5 @@ new Vue({
render: (createElement) => {
return createElement(Calendar, {props: props});
},
// TODO init store as well?
// See reference nr. 16
});

View File

@@ -28,11 +28,11 @@ Vue.config.productionTip = false;
// i18n
let i18n = require('../../i18n');
// TODO take transaction type from URL. Simplifies a lot of code.
// TODO make sure the enter button works.
// TODO add preferences in sidebar
// TODO If I change the date box at all even if you just type over it with the current date, it posts back a day.
// TODO Cash accounts do not work
// See reference nr. 3
// See reference nr. 4
// See reference nr. 5
// See reference nr. 6
// See reference nr. 7
let props = {};
new Vue({

View File

@@ -40,7 +40,7 @@ new Vue({
return createElement(Index, {props: props});
},
beforeCreate() {
// init the old root store (TODO remove me)
// See reference nr. 2
this.$store.commit('initialiseStore');
this.$store.dispatch('updateCurrencyPreference');