Skip to content

Commit

Permalink
Merge branch 'UIREC-292' of https://github.com/folio-org/ui-receiving
Browse files Browse the repository at this point in the history
…into UIREC-292
  • Loading branch information
usavkov-epam committed Jan 5, 2024
2 parents 722dc64 + 84b4d5a commit b898d39
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/TitleDetails/AddPieceModal/AddPieceModal.js
Original file line number Diff line number Diff line change
Expand Up @@ -101,8 +101,8 @@ const AddPieceModal = ({
} = formValues;

/*
When "saveAndCreate" action is triggered, `isCreateAnother` is passed as initial value to apply validations.
This param should be reseted to `false` after the component init.
When the "saveAndCreate" action is triggered, `isCreateAnother` is passed as an initial value to apply validations.
This param should be reset to `false` after the component init.
*/
useEffect(() => {
change('isCreateAnother', false);
Expand Down

0 comments on commit b898d39

Please sign in to comment.