Stocktaking off by default

This commit is contained in:
jableader 2024-05-19 22:20:29 +10:00
parent 2db2251a1b
commit d175490c55

View file

@ -55,7 +55,7 @@ export default {
const to = new Date(); const to = new Date();
to.setDate(to.getDate() + 7); to.setDate(to.getDate() + 7);
return { from, to, availableMeals: [], shoppingList: null, includedMeals: [], listByProduct: [], stockTaking: true, productsToShow: []} return { from, to, availableMeals: [], shoppingList: null, includedMeals: [], listByProduct: [], stockTaking: false, productsToShow: []}
}, },
async beforeMount() { async beforeMount() {
this.availableMeals = await data.getMeals(this.from, this.to); this.availableMeals = await data.getMeals(this.from, this.to);