Skip to content

Commit

Permalink
Fix regression where page labels are not updated from the label popup
Browse files Browse the repository at this point in the history
  • Loading branch information
mrtcode committed Mar 1, 2025
1 parent ab30791 commit 915d241
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/common/components/modal-popup/label-popup.js
Original file line number Diff line number Diff line change
Expand Up @@ -175,7 +175,7 @@ function LabelPopup({ params, onUpdateAnnotations, onClose }) {
}
annotation.pageLabel = newPageLabel.toString();
}
annotationsToUpdate = annotationsToUpdate.map(({ id }) => ({ id }));
annotationsToUpdate = annotationsToUpdate.map(({ id, pageLabel }) => ({ id, pageLabel }));
}

onClose();
Expand Down

0 comments on commit 915d241

Please sign in to comment.