mirror of
https://gitea.toothfairyai.com/ToothFairyAI/tf_code.git
synced 2026-04-18 06:34:50 +00:00
wip: css and ui packages
This commit is contained in:
@@ -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)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user