Skip to content

Commit

Permalink
one small change to the default flash message
Browse files Browse the repository at this point in the history
  • Loading branch information
Monkeychip committed Oct 2, 2024
1 parent ea43d69 commit 5313add
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 @@ -76,7 +76,7 @@ export default TransformBase.extend({
// If an error was returned, check error type and show a message.
const errorStatus = updateOrCreateResponse.errorStatus;
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.`;
let message = `The edits to this transformation were successful, but transformations for the role ${record.id} were 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 remove the role ${record.id}'s transformation was not made.`;
}
Expand Down

0 comments on commit 5313add

Please sign in to comment.