diff --git a/components/card/Note.vue b/components/card/Note.vue index 1411e29..2c22407 100644 --- a/components/card/Note.vue +++ b/components/card/Note.vue @@ -13,7 +13,7 @@
@@ -45,7 +45,7 @@ const showDetail = ref(false); const showOptions = ref(false); - const options = ref(); + const contextMenu = ref(); const toggleOptions = () => { showOptions.value = !showOptions.value; @@ -59,7 +59,7 @@ navigateTo(`/notes/${id}`); }; - onClickOutside(options, (event) => { + onClickOutside(contextMenu, (event) => { toggleOptions(); });