Skip to content

Commit

Permalink
update comment
Browse files Browse the repository at this point in the history
  • Loading branch information
vashjs committed Jan 28, 2025
1 parent 5f89b4a commit f03377c
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,9 @@ export const BulkEditMarcLayer = ({
const isOnlyAdministrativeValid = isAdministrativeFormValid && isMarcFormPristine;
const isOnlyMarcFormValid = isMarcFormValid && isAdministrativeFormPristine;

// If at least one form is valid, we can confirm changes
// we can confirm the changes if either:
// both forms are changed-and-valid
// one is changed-and-valid and the other pristine
const areFormsStateValid = isOnlyAdministrativeValid || isOnlyMarcFormValid || areBothFormsValid;

const {
Expand Down

0 comments on commit f03377c

Please sign in to comment.