@searpent/react-image-annotate 2.0.43 → 2.0.45
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/Annotator/index.js
CHANGED
|
@@ -78,7 +78,8 @@ export var Annotator = function Annotator(_ref) {
|
|
|
78
78
|
onSave = _ref.onSave,
|
|
79
79
|
albumMetadata = _ref.albumMetadata,
|
|
80
80
|
metadataConfigs = _ref.metadataConfigs,
|
|
81
|
-
lockedImages = _ref.lockedImages
|
|
81
|
+
_ref$lockedImages = _ref.lockedImages,
|
|
82
|
+
lockedImages = _ref$lockedImages === void 0 ? [] : _ref$lockedImages;
|
|
82
83
|
|
|
83
84
|
if (typeof selectedImage === "string") {
|
|
84
85
|
selectedImage = (images || []).findIndex(function (img) {
|
|
@@ -669,7 +669,7 @@ export default (function (state, action) {
|
|
|
669
669
|
})) === null || _state4$images$state$3 === void 0 ? void 0 : _state4$images$state$3.groupId;
|
|
670
670
|
var groupSelected = true;
|
|
671
671
|
|
|
672
|
-
if (
|
|
672
|
+
if (groupId === undefined) {
|
|
673
673
|
groupId = nextGroupId();
|
|
674
674
|
groupSelected = false;
|
|
675
675
|
}
|
package/PageSelector/index.js
CHANGED