From 57a72fd3b5a0728b3404c261df5444ab4bed4ced Mon Sep 17 00:00:00 2001 From: geoffrey45 Date: Mon, 14 Mar 2022 08:44:52 +0300 Subject: [PATCH] hide context menu on right click again --- src/components/contextMenu.vue | 109 ++++++++++++++------------------- 1 file changed, 47 insertions(+), 62 deletions(-) diff --git a/src/components/contextMenu.vue b/src/components/contextMenu.vue index 7d94e7a5..c33742a2 100644 --- a/src/components/contextMenu.vue +++ b/src/components/contextMenu.vue @@ -1,5 +1,5 @@ @@ -19,55 +25,6 @@ import useContextStore from "@/stores/context.js"; const context = useContextStore(); - -// const props = defineProps({ -// context: { -// type: Object, -// required: true, -// }, -// }); - -const options = [ - { - label: "Item 1 and another one of my long stories", - icon: "folder", - action: () => { - console.log("Item 1 clicked"); - }, - }, - { - label: "Item 2", - icon: "folder", - - action: () => { - console.log("Item 2 clicked"); - }, - }, - { - label: "Item 3", - icon: "folder", - action: () => { - console.log("Item 3 clicked"); - }, - }, - { - label: "Item 4", - icon: "folder", - - action: () => { - console.log("Item 4 clicked"); - }, - }, - { - label: "Item 5", - icon: "folder", - - action: () => { - console.log("Item 5 clicked"); - }, - }, -]; -