fix key error link when restoring from v1 #17

This commit is contained in:
Maxi Quoß
2022-04-30 17:57:15 +02:00
parent f36be22e46
commit 4906ce722b

View File

@@ -67,6 +67,7 @@
// v1 file restore
for (const [key, value] of Object.entries(data)) {
value["mac"] = key
value["link"] = ""
updateDevice(value)
}
}