From: Adam Dullage Date: Fri, 17 May 2024 11:38:16 +0000 (+0100) Subject: Add comment against init function in Note view X-Git-Url: http://git.99rst.org/?a=commitdiff_plain;h=f0859a0ca1bcbd85c654acca1fab1df11711f11c;p=flatnotes.git Add comment against init function in Note view --- diff --git a/client/views/Note.vue b/client/views/Note.vue index 2cb49e9..2af6e53 100644 --- a/client/views/Note.vue +++ b/client/views/Note.vue @@ -158,7 +158,7 @@ Mousetrap.bind("e", () => { }); function init() { - // Return if we already have the note + // Return if we already have the note e.g. When we rename a note, the route prop would change but we’d already have the note. if (props.title && props.title == note.value.title) { return; }