labsense-ui-kit 1.3.94 → 1.3.95
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/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/dist/index.modern.js +1 -1
- package/dist/index.modern.js.map +1 -1
- package/package.json +1 -1
package/dist/index.modern.js
CHANGED
|
@@ -8604,7 +8604,7 @@ var MultiSelectDropdown = function MultiSelectDropdown(_ref32) {
|
|
|
8604
8604
|
};
|
|
8605
8605
|
var SELECT_ALL_VALUE = '__SELECT_ALL__';
|
|
8606
8606
|
var computedOptions = React.useMemo(function () {
|
|
8607
|
-
if (!selectAllOption) return options;
|
|
8607
|
+
if (!selectAllOption || options.length === 0) return options;
|
|
8608
8608
|
return [{
|
|
8609
8609
|
value: SELECT_ALL_VALUE,
|
|
8610
8610
|
labelText: selectAllLabel
|