@@ -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();
});