From e23cfd3e4d9362fe22fa48bd7d0c879cd41d9956 Mon Sep 17 00:00:00 2001 From: Gerard Burns Date: Tue, 9 Jul 2024 09:44:41 +0100 Subject: [PATCH 1/2] wire up outside click handler (#14125) --- packages/client/src/components/app/Modal.svelte | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/client/src/components/app/Modal.svelte b/packages/client/src/components/app/Modal.svelte index 5c60735959..591c4da971 100644 --- a/packages/client/src/components/app/Modal.svelte +++ b/packages/client/src/components/app/Modal.svelte @@ -56,7 +56,7 @@
From d1f04548318d741b62b75dde3494fd873ab3efb9 Mon Sep 17 00:00:00 2001 From: Conor Webb <126772285+ConorWebb96@users.noreply.github.com> Date: Tue, 9 Jul 2024 09:55:19 +0100 Subject: [PATCH 2/2] Switch the notification messages around as it was stating it was enable/disabled at the wrong times. (#14124) --- packages/builder/src/stores/builder/automations.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/builder/src/stores/builder/automations.js b/packages/builder/src/stores/builder/automations.js index fc55b8cb67..fb46b90235 100644 --- a/packages/builder/src/stores/builder/automations.js +++ b/packages/builder/src/stores/builder/automations.js @@ -146,13 +146,13 @@ const automationActions = store => ({ await store.actions.save(automation) notifications.success( `Automation ${ - automation.disabled ? "enabled" : "disabled" + automation.disabled ? "disabled" : "enabled" } successfully` ) } catch (error) { notifications.error( `Error ${ - automation && automation.disabled ? "enabling" : "disabling" + automation && automation.disabled ? "disabling" : "enabling" } automation` ) }