hart-estate-widget 0.0.56 → 0.0.57

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.
@@ -99,7 +99,7 @@ var Application = (0, _mobxReactLite.observer)(function (_ref) {
99
99
  }, [config, currentTab]);
100
100
 
101
101
  var getTabButton = function getTabButton(button, index) {
102
- if (!_store.default.isTabIncluded(button.tab)) return null;
102
+ if (!_store.default.isTabIncluded(button.tab) || _store.default.config.tabs.length < 2) return null;
103
103
  return /*#__PURE__*/_react.default.createElement(_TabButton.default, {
104
104
  key: index,
105
105
  text: button.text,
package/package.json CHANGED
@@ -3,7 +3,7 @@
3
3
  "description": "HART Estate widget",
4
4
  "author": "HART",
5
5
  "keywords": [],
6
- "version": "0.0.56",
6
+ "version": "0.0.57",
7
7
  "private": false,
8
8
  "main": "build/index.js",
9
9
  "module": "build/index.js",