From 44033e9c6606b67ea3384459609c14d192493b04 Mon Sep 17 00:00:00 2001 From: Pranav C <61551451+pranavxc@users.noreply.github.com> Date: Wed, 30 Jun 2021 19:55:31 +0530 Subject: [PATCH] feat: Added environment information Signed-off-by: Pranav C <61551451+pranavxc@users.noreply.github.com> --- .../components/project/tableTabs/webhooks.vue | 27 +++++++++++++++++-- 1 file changed, 25 insertions(+), 2 deletions(-) diff --git a/packages/nc-gui/components/project/tableTabs/webhooks.vue b/packages/nc-gui/components/project/tableTabs/webhooks.vue index f83bb9dadc..28e514c73e 100644 --- a/packages/nc-gui/components/project/tableTabs/webhooks.vue +++ b/packages/nc-gui/components/project/tableTabs/webhooks.vue @@ -204,7 +204,7 @@ + + + + + Available context variables are data, user, payload and env + + + + data : Row data
+ user : User information
+ payload : Plugin settings payload
+ env : Environment values (process.env) + +
+
+
+
+ @@ -430,7 +453,7 @@ export default { this.enableCondition = false; this.$toast.info('For webhook condition : Upgrade to Enterprise Edition').goAway(3000) } - this.hook.condition= [] + this.hook.condition = [] }, async onNotTypeChange() { this.notification = {};