From 2877648df5ec91fb71ca64decb69435c24a786ca Mon Sep 17 00:00:00 2001 From: Martin McKeaveney Date: Thu, 10 Jun 2021 12:07:39 +0100 Subject: [PATCH 1/2] fix feedback notification panel, prevent MinIO bucket from being deleted --- .../src/components/deploy/DeployModal.svelte | 16 +++++++++++++--- .../src/pages/builder/portal/apps/index.svelte | 4 +++- .../server/src/api/controllers/application.js | 3 ++- 3 files changed, 18 insertions(+), 5 deletions(-) diff --git a/packages/builder/src/components/deploy/DeployModal.svelte b/packages/builder/src/components/deploy/DeployModal.svelte index 400f0dca4f..77f9a67cfe 100644 --- a/packages/builder/src/components/deploy/DeployModal.svelte +++ b/packages/builder/src/components/deploy/DeployModal.svelte @@ -31,9 +31,9 @@ notifications.success(`Application published successfully`) } - if (analytics.requestFeedbackOnDeploy()) { - feedbackModal.show() - } + // if (analytics.requestFeedbackOnDeploy()) { + feedbackModal.show() + // } } catch (err) { analytics.captureException(err) notifications.error(`Error publishing app: ${err}`) @@ -98,6 +98,16 @@ + + + + + Date: Thu, 10 Jun 2021 12:10:19 +0100 Subject: [PATCH 2/2] re-adding if --- packages/builder/src/components/deploy/DeployModal.svelte | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/packages/builder/src/components/deploy/DeployModal.svelte b/packages/builder/src/components/deploy/DeployModal.svelte index 77f9a67cfe..ea538f8212 100644 --- a/packages/builder/src/components/deploy/DeployModal.svelte +++ b/packages/builder/src/components/deploy/DeployModal.svelte @@ -31,9 +31,9 @@ notifications.success(`Application published successfully`) } - // if (analytics.requestFeedbackOnDeploy()) { - feedbackModal.show() - // } + if (analytics.requestFeedbackOnDeploy()) { + feedbackModal.show() + } } catch (err) { analytics.captureException(err) notifications.error(`Error publishing app: ${err}`)