Skip to content

Commit

Permalink
Merge branch 'develop' into MAT-7529
Browse files Browse the repository at this point in the history
  • Loading branch information
adongare committed Dec 31, 2024
2 parents 22ba0db + 2d70195 commit 5c67af5
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 5c67af5

Please sign in to comment.