mirror of
https://github.com/andreicscs/HoneyWire
synced 2026-06-26 12:39:53 +00:00
closing sync modal on successful sync
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user