mirror of
https://github.com/aljazceru/opencode.git
synced 2026-01-24 10:14:55 +01: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