From: Adam Dullage Date: Wed, 1 May 2024 20:34:36 +0000 (+0100) Subject: Tidy note view watch X-Git-Url: http://git.99rst.org/?a=commitdiff_plain;h=c8cd678073f6856f41660591ba015edb6c683ced;p=flatnotes.git Tidy note view watch --- diff --git a/client/views/Note.vue b/client/views/Note.vue index f86646a..c0ae0ca 100644 --- a/client/views/Note.vue +++ b/client/views/Note.vue @@ -6,14 +6,14 @@
{{ note.title }}
@@ -107,13 +107,5 @@ function saveHandler() { editMode.value = false; } -watch( - () => props.title, - () => { - init(); - }, - { - immediate: true, - }, -); +watch(() => props.title, init, { immediate: true });