From 0e8b06fdfc8d62a87706da4d330a84fb8bd610d8 Mon Sep 17 00:00:00 2001 From: zurdi Date: Tue, 11 Jun 2024 18:39:46 +0200 Subject: [PATCH] tweaked scan view --- frontend/src/views/Scan.vue | 28 +++++++++++++++------------- 1 file changed, 15 insertions(+), 13 deletions(-) diff --git a/frontend/src/views/Scan.vue b/frontend/src/views/Scan.vue index 2c0a5ff53..50936f4fe 100644 --- a/frontend/src/views/Scan.vue +++ b/frontend/src/views/Scan.vue @@ -9,14 +9,12 @@ import { computed, ref, watch } from "vue"; import { useDisplay } from "vuetify"; // Props +const { smAndDown } = useDisplay(); const scanningStore = storeScanning(); const { scanning, scanningPlatforms, scanStats } = storeToRefs(scanningStore); const platforms = storePlatforms(); const heartbeat = storeHeartbeat(); -const { smAndDown } = useDisplay(); - const platformsToScan = ref([]); - // Use a computed property to reactively update metadataOptions based on heartbeat const metadataOptions = computed(() => [ { @@ -91,7 +89,7 @@ async function stopScan() {