react-image-annotate
Advanced tools
Comparing version 1.4.0 to 1.4.1
@@ -45,3 +45,3 @@ import _defineProperty from "@babel/runtime/helpers/esm/defineProperty"; | ||
export var MainLayout = function MainLayout(_ref2) { | ||
var _Object$assign; | ||
var _Object$assign, _state$images; | ||
@@ -240,3 +240,3 @@ var state = _ref2.state, | ||
expandedByDefault: true | ||
}), (state.images?.length || 0) > 1 && /*#__PURE__*/React.createElement(ImageSelector, { | ||
}), (((_state$images = state.images) === null || _state$images === void 0 ? void 0 : _state$images.length) || 0) > 1 && /*#__PURE__*/React.createElement(ImageSelector, { | ||
onSelect: action("SELECT_REGION", "region"), | ||
@@ -243,0 +243,0 @@ images: state.images |
{ | ||
"name": "react-image-annotate", | ||
"version": "1.4.0", | ||
"version": "1.4.1", | ||
"dependencies": { | ||
@@ -70,3 +70,3 @@ "@fortawesome/fontawesome-svg-core": "^1.2.12", | ||
"@babel/core": "^7.2.2", | ||
"@babel/plugin-proposal-optional-chaining": "^7.10.4", | ||
"@babel/plugin-proposal-optional-chaining": "^7.11.0", | ||
"@storybook/addon-actions": "^5.3.14", | ||
@@ -73,0 +73,0 @@ "@storybook/addon-links": "^5.3.14", |
215480