mirror of
https://github.com/ilyakooo0/urbit.git
synced 2024-12-15 01:52:42 +03:00
Merge pull request #4549 from urbit/la/fix-stupid
This commit is contained in:
commit
46b1bd97b6
@ -131,7 +131,7 @@ const addNodes = (json, state) => {
|
|||||||
} else {
|
} else {
|
||||||
const child = graph.get(index[0]);
|
const child = graph.get(index[0]);
|
||||||
if (child) {
|
if (child) {
|
||||||
graph = _remove(child.children, index.slice(1));
|
child.children = _remove(child.children, index.slice(1));
|
||||||
graph.set(index[0], child);
|
graph.set(index[0], child);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -194,7 +194,7 @@ const addNodes = (json, state) => {
|
|||||||
node
|
node
|
||||||
);
|
);
|
||||||
});
|
});
|
||||||
|
|
||||||
state.graphs[resource] = graph;
|
state.graphs[resource] = graph;
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
Loading…
Reference in New Issue
Block a user