From 66d408b7dba709cf7b2ee3a25aa83baf23976ebd Mon Sep 17 00:00:00 2001 From: 0xc0Der <59133155+0xc0Der@users.noreply.github.com> Date: Tue, 2 Nov 2021 02:46:16 +0200 Subject: [PATCH] Allow duplication of global environment (#1924) --- .../components/environments/Environment.vue | 17 ++++++++++++++--- 1 file changed, 14 insertions(+), 3 deletions(-) diff --git a/packages/hoppscotch-app/components/environments/Environment.vue b/packages/hoppscotch-app/components/environments/Environment.vue index ecdda9cd..311431e1 100644 --- a/packages/hoppscotch-app/components/environments/Environment.vue +++ b/packages/hoppscotch-app/components/environments/Environment.vue @@ -42,7 +42,6 @@ " /> { + gVars.push({ key: gVar.key, value: gVar.value }) + return gVars + }, []) + ) + } else duplicateEnvironment(this.environmentIndex) }, }, })