closing sync modal on successful sync

This commit is contained in:
AndReicscs
2026-06-22 10:46:09 +00:00
parent 9a869d9081
commit f34b79d701
+6
View File
@@ -229,6 +229,12 @@ onMounted(async () => {
}
})
watch(() => node.value?.hasPendingConfig, (newVal) => {
if (newVal === false && showSyncModal.value) {
showSyncModal.value = false
}
})
const openSensor = (sensor: any) => {
const apiKey = node.value?.apiKey
selectedSensor.value = sensor