diff --git a/frontend/src/App.vue b/frontend/src/App.vue
index 8b73d9282..6a23f14c1 100644
--- a/frontend/src/App.vue
+++ b/frontend/src/App.vue
@@ -1,19 +1,21 @@
-
+
-
+
diff --git a/frontend/src/components/Navigation.vue b/frontend/src/components/Navigation.vue
index f03ab13f0..d044ac06a 100644
--- a/frontend/src/components/Navigation.vue
+++ b/frontend/src/components/Navigation.vue
@@ -56,7 +56,7 @@ async function scan() {
// Complete scan of by platform
console.log("scanning...")
scanning.value = true
- console.log(scanning)
+ emitter.emit('scanning', true)
const platforms = []
toRaw(platformsToScan)._rawValue.forEach(p => {
platforms.push(toRaw(p))
@@ -68,7 +68,9 @@ async function scan() {
console.log("scan completed")
console.log(response.data)
}).catch((error) => {console.log(error)})
- router.go()
+ scanning.value = false
+ emitter.emit('scanning', false)
+ // router.go()
}
else{
platforms.forEach(async p => {
@@ -80,7 +82,9 @@ async function scan() {
console.log("scan "+p.name+" completed")
console.log(response.data)
}).catch((error) => {console.log(error)})
- router.go()
+ scanning.value = false
+ emitter.emit('scanning', false)
+ // router.go()
});
}
}
@@ -140,13 +144,12 @@ getPlatforms()
+
+
-
- mdi-cog
-
-
+ mdi-cog