Skip to content

Commit

Permalink
Merge pull request #2966 from glific/enhancement/translations-warning
Browse files Browse the repository at this point in the history
Added warning for automatic translations
  • Loading branch information
mdshamoon authored Jul 10, 2024
2 parents 4f4a496 + 7250be7 commit 23c8ad1
Show file tree
Hide file tree
Showing 9 changed files with 454 additions and 231 deletions.
4 changes: 2 additions & 2 deletions src/containers/Form/FormLayout.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -240,7 +240,7 @@ export const FormLayout = ({
let itemUpdatedObject: any = Object.keys(data)[0];
itemUpdatedObject = data[itemUpdatedObject];
const updatedItem = itemUpdatedObject[listItem];
const { errors } = itemUpdatedObject;
const { errors, message } = itemUpdatedObject;

if (errors) {
if (customHandler) {
Expand Down Expand Up @@ -273,7 +273,7 @@ export const FormLayout = ({
}
// emit data after save
if (afterSave) {
afterSave(data, saveClick);
afterSave(data, saveClick, message);
}
}
onSaveClick(false);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,3 +11,7 @@
.Simulator > div {
top: 200px !important;
}

.DialogContent {
text-align: center;
}
Loading

0 comments on commit 23c8ad1

Please sign in to comment.