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.js
CHANGED
|
@@ -8608,7 +8608,7 @@ var MultiSelectDropdown = function MultiSelectDropdown(_ref32) {
|
|
|
8608
8608
|
};
|
|
8609
8609
|
var SELECT_ALL_VALUE = '__SELECT_ALL__';
|
|
8610
8610
|
var computedOptions = React__default.useMemo(function () {
|
|
8611
|
-
if (!selectAllOption) return options;
|
|
8611
|
+
if (!selectAllOption || options.length === 0) return options;
|
|
8612
8612
|
return [{
|
|
8613
8613
|
value: SELECT_ALL_VALUE,
|
|
8614
8614
|
labelText: selectAllLabel
|