fix : clear is working without window reload
This commit is contained in:
parent
01516866b7
commit
0fc02ef576
@ -790,7 +790,9 @@ clearLocalTickets() {
|
|||||||
// Reset via shared state
|
// Reset via shared state
|
||||||
this.sharedStateService.setSalesTotal(0);
|
this.sharedStateService.setSalesTotal(0);
|
||||||
this.sharedStateService.setReceiveTotal(0);
|
this.sharedStateService.setReceiveTotal(0);
|
||||||
window.location.reload();
|
// window.location.reload();
|
||||||
|
this.selectionService.clearSelections();
|
||||||
|
this.resetSelections();
|
||||||
|
|
||||||
// Optionally clear print clicks
|
// Optionally clear print clicks
|
||||||
// localStorage.removeItem('printClickCount');
|
// localStorage.removeItem('printClickCount');
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user