From 5bc62d12f45433c098d1a01ce432de6e69c17cf8 Mon Sep 17 00:00:00 2001 From: Joscha Date: Tue, 11 Feb 2025 19:47:10 +0100 Subject: [PATCH] Add button to navigate to a note --- gdn-app/src/components/CNote.vue | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/gdn-app/src/components/CNote.vue b/gdn-app/src/components/CNote.vue index e5b37c9..f2b6799 100644 --- a/gdn-app/src/components/CNote.vue +++ b/gdn-app/src/components/CNote.vue @@ -5,6 +5,7 @@ import { useUiStore } from "@/stores/ui"; import { RiAddLine, RiArrowDownSLine, + RiArrowRightDoubleLine, RiArrowRightSLine, RiCornerUpRightLine, RiEditLine, @@ -129,6 +130,10 @@ function onCreateEditorFinish(text: string): void { onCreateEditorClose(); } + +function onMoveButtonClick(): void { + ui.anchorId = props.segment.id; +}