From 0fdb0694330e614d0cafd3c957ff5178031f3440 Mon Sep 17 00:00:00 2001 From: karthik Date: Wed, 6 Aug 2025 13:02:44 +0530 Subject: [PATCH] fix: clears after print --- .../app/components/touch-pad-menu/touch-pad-menu.component.ts | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/btc-UI/src/app/components/touch-pad-menu/touch-pad-menu.component.ts b/btc-UI/src/app/components/touch-pad-menu/touch-pad-menu.component.ts index 9aa6c89..0cb30c6 100755 --- a/btc-UI/src/app/components/touch-pad-menu/touch-pad-menu.component.ts +++ b/btc-UI/src/app/components/touch-pad-menu/touch-pad-menu.component.ts @@ -896,9 +896,11 @@ printTicket() { .catch(error => { console.error("❌ Print failed:", error); - this.erase(); // ✅ Clear selections after successful print + this.erase(); // ✅ Clear selections after successful print + }); + this.erase(); // ✅ Clear selections after successful print //--------------------Ended Print here -----------------------------