From 30aa85af0b3e7d46f19539c0e749267099009424 Mon Sep 17 00:00:00 2001 From: FlaminWrap Date: Sun, 13 Nov 2022 17:08:23 +0000 Subject: [PATCH 1/2] Commit for enhancement #7604 Added a checkbox to allow the user to disable the default notifications to the following button actions: * Save row * Duplicate row * Trigger automation * Execute query * Delete row Also adjusted buttonActions.js to reflect the behaviour of that checkbox being ticked. --- .../actions/DeleteRow.svelte | 2 ++ .../actions/DuplicateRow.svelte | 2 ++ .../actions/ExecuteQuery.svelte | 3 +- .../ButtonActionEditor/actions/SaveRow.svelte | 2 ++ .../actions/TriggerAutomation.svelte | 2 ++ packages/client/src/utils/buttonActions.js | 31 +++++++++++++------ 6 files changed, 31 insertions(+), 11 deletions(-) diff --git a/packages/builder/src/components/design/settings/controls/ButtonActionEditor/actions/DeleteRow.svelte b/packages/builder/src/components/design/settings/controls/ButtonActionEditor/actions/DeleteRow.svelte index 0ca5bfaa76..00e3698524 100644 --- a/packages/builder/src/components/design/settings/controls/ButtonActionEditor/actions/DeleteRow.svelte +++ b/packages/builder/src/components/design/settings/controls/ButtonActionEditor/actions/DeleteRow.svelte @@ -27,6 +27,8 @@ />