Fix back button going to "note not found"
This commit is contained in:
parent
5a244e585f
commit
cc0d242424
1 changed files with 1 additions and 0 deletions
|
|
@ -38,6 +38,7 @@ async function createSomeNotes(): Promise<void> {
|
|||
const root = await mkNote("root", n1.id, n2.id, n3.id, n4.id, n5.id, n2.id);
|
||||
|
||||
ui.pushAnchorId(root.id);
|
||||
ui.history = [];
|
||||
|
||||
// Shuffle children of root
|
||||
const rootChildren = (await notes.getNote(root.id))?.children ?? [];
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue