Skip to content

Commit

Permalink
change confirmation prompts messages on scenario features bulk
Browse files Browse the repository at this point in the history
  • Loading branch information
anamontiaga committed Jan 8, 2024
1 parent 89e606f commit 463c2b0
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -204,7 +204,7 @@ export const ScenariosFeaturesList = ({ onContinue }): JSX.Element => {
const onSubmit = useCallback(
(values) => {
const { features } = values;
console.log({ onSubmit: features });

const data = getFeaturesRecipe(features);
setSubmitting(true);

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -283,7 +283,7 @@ export const ScenariosFeaturesTargets = ({ onGoBack }: { onGoBack: () => void })
/>

<ConfirmationPrompt
title={`Are you sure you want to change all feature targets to ${confirmationTarget?.v}?`}
title={`Are you sure you want to change all the features targets that are currently selected to ${confirmationTarget?.v}?`}
description="The action cannot be reverted."
open={!!confirmationTarget}
onAccept={() => {
Expand All @@ -294,7 +294,7 @@ export const ScenariosFeaturesTargets = ({ onGoBack }: { onGoBack: () => void })
/>

<ConfirmationPrompt
title={`Are you sure you want to change all feature SPFs to ${confirmationFPF?.v}?`}
title={`Are you sure you want to change all the SPFs targets that are currently selected to ${confirmationFPF?.v}?`}
description="The action cannot be reverted."
open={!!confirmationFPF}
onAccept={() => onChangeFPFAll(confirmationFPF)}
Expand Down

0 comments on commit 463c2b0

Please sign in to comment.