Fixed root bug for start node, fixed ctrl+l

This commit is contained in:
Magnus Åhall 2025-02-09 19:15:46 +01:00
parent 26fe670965
commit 8f15664b88
2 changed files with 5 additions and 1 deletions

View file

@ -303,7 +303,7 @@ export class NodeStore {
.transaction('nodes', 'readonly')
.objectStore('nodes')
if (node.ParentUUID === ROOT_NODE) {
if (node.UUID === ROOT_NODE || node.ParentUUID === ROOT_NODE) {
resolve(accumulated)
return
}