Poprawki zapisywania rozkazów i listy

This commit is contained in:
2022-10-28 12:53:47 +02:00
parent 20e5df3290
commit 190cedff0e
5 changed files with 16 additions and 16 deletions
+3 -3
View File
@@ -67,7 +67,9 @@ export default defineComponent({
removeLocalOrder(order: LocalStorageOrder) {
localStorage.removeItem(order.id);
localStorage.setItem('orderCount', (Number(localStorage.getItem('orderCount')) - 1).toString());
if (this.store.chosenLocalOrderId == order.id) this.store.chosenLocalOrderId = '';
// localStorage.setItem('orderCount', (Number(localStorage.getItem('orderCount')) - 1).toString());
},
selectLocalOrder(order: LocalStorageOrder) {
@@ -114,8 +116,6 @@ export default defineComponent({
(this.store.orderFooter as any)[key] = localOrderFooter[key];
}
console.log(this.store[this.store.chosenOrderType]);
this.store.orderMode = 'OrderMessage';
},
},