From 781c376a22bfaae02fc2d94c881e011f9ab2cd54 Mon Sep 17 00:00:00 2001 From: Jobayer Ahmed Date: Thu, 1 Jun 2023 04:47:42 +0600 Subject: [PATCH 1/2] fix(modal): Warning modal for disabling rule should say "disable" instead of "delete" --- src/app/Modal/DeleteWarningUtils.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/app/Modal/DeleteWarningUtils.tsx b/src/app/Modal/DeleteWarningUtils.tsx index 1af367e23..78f8e9fc4 100644 --- a/src/app/Modal/DeleteWarningUtils.tsx +++ b/src/app/Modal/DeleteWarningUtils.tsx @@ -63,7 +63,7 @@ export const DisableAutomatedRules: DeleteOrDisableWarning = { id: DeleteOrDisableWarningType.DisableAutomatedRules, title: 'Disable your Automated Rule?', label: 'Disable Automated Rule', - description: `If you click delete, the rule will be disabled.`, + description: `If you click Disable, the rule will be disabled`, ariaLabel: 'Automated rule disable warning', }; From 230595c735769007f4aba92ddd8382baf6f379fa Mon Sep 17 00:00:00 2001 From: Jobayer Ahmed Date: Thu, 1 Jun 2023 04:53:55 +0600 Subject: [PATCH 2/2] fix(modal): Warning modal for disabling rule should say "disable" instead of "delete" --- src/app/Modal/DeleteWarningUtils.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/app/Modal/DeleteWarningUtils.tsx b/src/app/Modal/DeleteWarningUtils.tsx index 78f8e9fc4..6767e8f1b 100644 --- a/src/app/Modal/DeleteWarningUtils.tsx +++ b/src/app/Modal/DeleteWarningUtils.tsx @@ -63,7 +63,7 @@ export const DisableAutomatedRules: DeleteOrDisableWarning = { id: DeleteOrDisableWarningType.DisableAutomatedRules, title: 'Disable your Automated Rule?', label: 'Disable Automated Rule', - description: `If you click Disable, the rule will be disabled`, + description: `If you click Disable, the rule will be disabled.`, ariaLabel: 'Automated rule disable warning', };