Add comment against init function in Note view
authorAdam Dullage <redacted>
Fri, 17 May 2024 11:38:16 +0000 (12:38 +0100)
committerAdam Dullage <redacted>
Fri, 17 May 2024 11:38:16 +0000 (12:38 +0100)
client/views/Note.vue

index 2cb49e91ba9bf3dd3a38373b1354c207a989014d..2af6e53278071ff41a39cac7d31764b4033eef8a 100644 (file)
@@ -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;
   }
git clone https://git.99rst.org/PROJECT