wip: css and ui packages
This commit is contained in:
parent
c04e892991
commit
37e6c8342f
28 changed files with 2392 additions and 123 deletions
|
|
@ -146,7 +146,10 @@ function init() {
|
|||
}
|
||||
for (const p of sync.data.changes) {
|
||||
if (store.node[p.path] === undefined) {
|
||||
fetch(p.path).then(() => setStore("node", p.path, "status", p))
|
||||
fetch(p.path).then(() => {
|
||||
if (store.node[p.path] === undefined) return
|
||||
setStore("node", p.path, "status", p)
|
||||
})
|
||||
} else {
|
||||
setStore("node", p.path, "status", p)
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue