sag_components 1.0.375 → 1.0.376

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.
@@ -319,7 +319,7 @@ var Dropdown = exports.Dropdown = function Dropdown(_ref) {
319
319
  limitTags: limitTagsOnMultiSelect,
320
320
  id: "checkboxes-tags",
321
321
  options: options,
322
- value: filterMultiSelectState,
322
+ value: filterMultiSelectState !== null && filterMultiSelectState !== void 0 ? filterMultiSelectState : undefined,
323
323
  disabled: disabled,
324
324
  disableCloseOnSelect: true,
325
325
  disableClearable: disableClearable,
@@ -373,7 +373,8 @@ var Dropdown = exports.Dropdown = function Dropdown(_ref) {
373
373
  }));
374
374
  };
375
375
  var isOptionChecked = function isOptionChecked(option) {
376
- if (filterMultiSelectState && filterMultiSelectState !== null && filterMultiSelectState !== void 0 && filterMultiSelectState.map(function (itemFilter) {
376
+ var _Object$values;
377
+ if (filterMultiSelectState && (_Object$values = Object.values(filterMultiSelectState)) !== null && _Object$values !== void 0 && _Object$values.map(function (itemFilter) {
377
378
  return itemFilter.label;
378
379
  }).includes(option.label)) {
379
380
  return true;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "sag_components",
3
- "version": "1.0.375",
3
+ "version": "1.0.376",
4
4
  "description": "",
5
5
  "main": "dist/index.js",
6
6
  "scripts": {