From 75e34feabf83128ae6f5b77ba1626046a22befb5 Mon Sep 17 00:00:00 2001 From: liyasthomas Date: Sat, 11 Dec 2021 08:03:39 +0530 Subject: [PATCH] feat: context menu for secondary actions in collection, environment and team components - #2005 --- .../components/collections/graphql/Collection.vue | 1 + .../hoppscotch-app/components/collections/graphql/Folder.vue | 1 + .../components/collections/graphql/Request.vue | 1 + .../hoppscotch-app/components/collections/my/Collection.vue | 1 + packages/hoppscotch-app/components/collections/my/Folder.vue | 1 + .../hoppscotch-app/components/collections/my/Request.vue | 1 + .../components/collections/teams/Collection.vue | 5 ++++- .../hoppscotch-app/components/collections/teams/Folder.vue | 5 ++++- .../hoppscotch-app/components/collections/teams/Request.vue | 5 ++++- .../hoppscotch-app/components/environments/Environment.vue | 5 ++++- packages/hoppscotch-app/components/teams/Team.vue | 5 ++++- 11 files changed, 26 insertions(+), 5 deletions(-) diff --git a/packages/hoppscotch-app/components/collections/graphql/Collection.vue b/packages/hoppscotch-app/components/collections/graphql/Collection.vue index d0fa4c3ab..8506f3fd3 100644 --- a/packages/hoppscotch-app/components/collections/graphql/Collection.vue +++ b/packages/hoppscotch-app/components/collections/graphql/Collection.vue @@ -8,6 +8,7 @@ @drop="dragging = false" @dragleave="dragging = false" @dragend="dragging = false" + @contextmenu.prevent="$refs.options.tippy().show()" >
-
+
-
+
-
+
-
+
-
+