Skip to content

Commit

Permalink
Merge branch 'master' into banner-update
Browse files Browse the repository at this point in the history
  • Loading branch information
akanshaaa19 authored Jul 10, 2024
2 parents 316e566 + 23c8ad1 commit 687b3f9
Show file tree
Hide file tree
Showing 10 changed files with 455 additions and 232 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/cypress-testing.yml
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ jobs:
git clone https://github.com/glific/cypress-testing.git
echo done. go to dir.
cd cypress-testing
git checkout collections-management
git checkout main
cd ..
cp -r cypress-testing/cypress cypress
yarn add cypress@13.6.2
Expand Down
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 687b3f9

Please sign in to comment.