Skip to content

Commit

Permalink
Merge pull request #421 from MeasureAuthoringTool/MAT-7796-fix
Browse files Browse the repository at this point in the history
MAT-7796: Fix dialog window
  • Loading branch information
mcmcphillips authored Dec 30, 2024
2 parents b8e0802 + 743720a commit 2d70195
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/CqlBuilderPanel/functionsSection/functions/Functions.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -301,7 +301,11 @@ const Functions = ({
open={discardDialog?.open}
warning="This Action cannot be undone."
dialogTitle="Discard changes?"
name="discard your changes in the CQL and delete the Function from the CQL"
name={
discardDialog?.operation === "edit"
? "discard your changes in the CQL and edit the Function in the CQL"
: "discard your changes in the CQL and delete the Function in the CQL"
}
action="discard"
cancelText="No, Keep Working"
continueText="Yes, Discard All Changes"
Expand Down

0 comments on commit 2d70195

Please sign in to comment.