From 9169b793a9d02d0857b75cd61fe39a5ea8894c60 Mon Sep 17 00:00:00 2001 From: jorgep Date: Mon, 24 Jun 2024 12:51:44 +0200 Subject: [PATCH] fix: refs #7623 update add updateRoute prop in VnPaginate --- src/components/ui/VnNotes.vue | 3 ++- src/components/ui/VnPaginate.vue | 6 +++++- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/src/components/ui/VnNotes.vue b/src/components/ui/VnNotes.vue index 937ec4b6ca..47591205a3 100644 --- a/src/components/ui/VnNotes.vue +++ b/src/components/ui/VnNotes.vue @@ -21,7 +21,7 @@ const currentUser = ref(state.getUser()); const newNote = ref(''); const vnPaginateRef = ref(); function handleKeyUp(event) { - if (event.key === 'Enter') { + if (event.key === 'Enter') { event.preventDefault(); if (!event.shiftKey) insert(); } @@ -77,6 +77,7 @@ async function insert() { auto-load ref="vnPaginateRef" class="show" + :update-router="false" v-bind="$attrs" >