From 2c6c0f1a8984f48aaae73fd36c8bad07e77fab32 Mon Sep 17 00:00:00 2001 From: Patrick Mulligan Date: Thu, 6 Aug 2026 22:58:49 +0200 Subject: [PATCH] fix(access): reset router to home on re-lock so the reopened gate lands on idle MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit After a transaction with the gate enabled, the machine re-locks (cashOut/ cashIn → locked, not idle), so the view's isIdle watch never fires and the router stays on /cash-out|/cash-in. When the next tap reopens the gate to idle, the stale transaction view showed (e.g. a completed sell's collect screen, stuck). Reset the route to / while locked (router-view hidden under LockedView) so idle renders IdleView. --- apps/machine/src/App.vue | 20 ++++++++++++++++---- 1 file changed, 16 insertions(+), 4 deletions(-) diff --git a/apps/machine/src/App.vue b/apps/machine/src/App.vue index 742c868..a4e22a0 100644 --- a/apps/machine/src/App.vue +++ b/apps/machine/src/App.vue @@ -1,6 +1,6 @@