From 9a08037a76c09f564cdb65cc0cb6f1f467d86bd2 Mon Sep 17 00:00:00 2001 From: zurdi Date: Sun, 1 Dec 2024 16:57:02 +0000 Subject: [PATCH] improved scan platform btn --- .../Gallery/AppBar/Platform/Base.vue | 21 ++++++++++++++++--- frontend/src/views/Scan.vue | 9 ++------ 2 files changed, 20 insertions(+), 10 deletions(-) diff --git a/frontend/src/components/Gallery/AppBar/Platform/Base.vue b/frontend/src/components/Gallery/AppBar/Platform/Base.vue index cbe3fbe96..3c2a37a39 100644 --- a/frontend/src/components/Gallery/AppBar/Platform/Base.vue +++ b/frontend/src/components/Gallery/AppBar/Platform/Base.vue @@ -27,6 +27,7 @@ const viewportWidth = ref(window.innerWidth); const heartbeat = storeHeartbeat(); const romsStore = storeRoms(); const scanningStore = storeScanning(); +const { scanning } = storeToRefs(scanningStore); const { currentPlatform } = storeToRefs(romsStore); const auth = storeAuth(); const navigationStore = storeNavigation(); @@ -132,12 +133,26 @@ function setAspectRatio() { Upload roms - + Scan platform +
diff --git a/frontend/src/views/Scan.vue b/frontend/src/views/Scan.vue index be10d73cb..95df10486 100644 --- a/frontend/src/views/Scan.vue +++ b/frontend/src/views/Scan.vue @@ -231,12 +231,7 @@ async function stopScan() { >mdi-magnify-scan - Scan + Scan - Abort + Abort