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() {