Bugfixes
This commit is contained in:
@ -12,7 +12,7 @@ interface Date {
|
||||
|
||||
export default defineComponent({
|
||||
mounted() {
|
||||
document.title = "Budgeteer - Budget for " + this.month + " " + this.year;
|
||||
document.title = "Budgeteer - Budget for " + this.selected.Month + "/" + this.selected.Year;
|
||||
return useAccountStore().FetchMonthBudget(this.budgetid, this.year, this.month);
|
||||
},
|
||||
watch: {
|
||||
@ -27,7 +27,9 @@ export default defineComponent({
|
||||
computed: {
|
||||
...mapState(useBudgetsStore, ["CurrentBudgetID"]),
|
||||
Categories() : IterableIterator<Category> | undefined {
|
||||
return useAccountStore().Categories(this.year, this.month);
|
||||
const accountStore = useAccountStore();
|
||||
console.log(accountStore.CategoriesForMonth(this.year, this.month));
|
||||
return accountStore.CategoriesForMonth(this.year, this.month);
|
||||
},
|
||||
previous(): Date {
|
||||
return {
|
||||
|
Reference in New Issue
Block a user