Skip to content

Commit

Permalink
update flash message language. It will now show a flash message for e…
Browse files Browse the repository at this point in the history
…ach role whose transformationw as not removed.
  • Loading branch information
Monkeychip committed Oct 2, 2024
1 parent 52ce7ad commit 52d650e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ui/app/components/transformation-edit.js
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ export default TransformBase.extend({
if (errorStatus) {
let message = `The edits to this transformation were successful, but transformations for its roles was not edited due to a lack of permissions.`;
if (errorStatus !== 403) {
message = `You've edited the allowed_roles for this transformation. However, the corresponding edits to some roles' transformations were not made.`;
message = `You've edited the allowed_roles for this transformation. However, the corresponding edits to remove the ${record.id}'s transformation was not made.`;
}
this.flashMessages.info(message, {
sticky: true,
Expand Down

0 comments on commit 52d650e

Please sign in to comment.