]> Piment Noir Git Repositories - e-mobility-charging-stations-simulator.git/commitdiff
refactor(ui): routing behavior
authorJérôme Benoit <jerome.benoit@sap.com>
Wed, 23 Jul 2025 19:40:47 +0000 (21:40 +0200)
committerJérôme Benoit <jerome.benoit@sap.com>
Wed, 23 Jul 2025 19:40:47 +0000 (21:40 +0200)
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
ui/web/src/components/actions/StartTransaction.vue

index a4510948e9e533d62eda08e6e13d3d64a642d88c..901d97bf85a8c8515a6591cf33658e383bb8b9c3 100644 (file)
@@ -53,6 +53,7 @@
             .catch((error: Error) => {
               $toast.error('Error at authorizing RFID tag')
               console.error('Error at authorizing RFID tag:', error)
+              $router.push({ name: 'charging-stations' })
             })
         } else {
           $uiClient