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` ) } 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 @@