From cc0d2424248adcbb49403d9ddb218d393ac20983 Mon Sep 17 00:00:00 2001 From: Joscha Date: Sat, 15 Feb 2025 12:44:27 +0100 Subject: [PATCH] Fix back button going to "note not found" --- gdn-app/src/components/CNavbar.vue | 1 + 1 file changed, 1 insertion(+) diff --git a/gdn-app/src/components/CNavbar.vue b/gdn-app/src/components/CNavbar.vue index 55e4ba8..e82a824 100644 --- a/gdn-app/src/components/CNavbar.vue +++ b/gdn-app/src/components/CNavbar.vue @@ -38,6 +38,7 @@ async function createSomeNotes(): Promise { 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 ?? [];