Removed old code, fixed root node showing up in tree
This commit is contained in:
parent
41952df764
commit
147dc12e99
2 changed files with 8 additions and 37 deletions
|
|
@ -94,6 +94,7 @@ export class NodeStore {
|
|||
Name: 'Notes2',
|
||||
Content: 'Hello, World!',
|
||||
Updated: new Date().toISOString(),
|
||||
ParentUUID: '',
|
||||
})
|
||||
putRequest.onsuccess = (event) => {
|
||||
resolve(event.target.result)
|
||||
|
|
@ -353,7 +354,6 @@ export class NodeStore {
|
|||
})
|
||||
}//}}}
|
||||
async getNodeAncestry(node, accumulated) {//{{{
|
||||
console.log('blaha')
|
||||
return new Promise((resolve, reject) => {
|
||||
const nodeParentIndex = this.db
|
||||
.transaction('nodes', 'readonly')
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue