-
+
Tag hinzufügen
@@ -143,6 +149,10 @@ export default defineComponent({
}
return true;
}
+ const pagination = ref({
+ sortBy: 'name',
+ rowsPerPage: 10,
+ });
return {
columns,
rows,
@@ -152,6 +162,7 @@ export default defineComponent({
updateTag: store.updateTag,
notExists,
deleteTag: store.deleteTag,
+ pagination,
};
},
});
diff --git a/src/plugins/pricelist/store.ts b/src/plugins/pricelist/store.ts
index 1bdcefd..3fd34a2 100644
--- a/src/plugins/pricelist/store.ts
+++ b/src/plugins/pricelist/store.ts
@@ -147,7 +147,6 @@ export const usePricelistStore = defineStore({
this.drinks.push(_drink);
});
calc_all_min_prices(this.drinks, this.min_prices);
- console.log(this.drinks);
},
sortPrices(volume: DrinkPriceVolume) {
volume.prices.sort((a, b) => {
@@ -196,7 +195,6 @@ export const usePricelistStore = defineStore({
this.drinks[index] = _drink;
}
calc_all_min_prices(this.drinks, this.min_prices);
- console.log('update drink', drink);
},
deleteDrink(drink: Drink) {
api
@@ -291,7 +289,6 @@ export const usePricelistStore = defineStore({
});
});
});
- console.log(retVal);
return retVal;
},
},