lakelib 0.3.6 → 0.3.7

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/lib/lake.js CHANGED
@@ -4395,7 +4395,7 @@ class Toolbar {
4395
4395
  for (const item of this.dropdownItemList) {
4396
4396
  let selectedValues = selectedValuesMap.get(item.name);
4397
4397
  if (selectedValues === undefined) {
4398
- selectedValues = item.selectedValues ? item.selectedValues(activeItems) : [];
4398
+ selectedValues = item.selectedValues && activeItems.length > 0 ? item.selectedValues(activeItems) : [];
4399
4399
  }
4400
4400
  const dropdownNode = this.container.find(`div.lake-dropdown[name="${item.name}"]`);
4401
4401
  let isDisabled = disabledNameMap.get(item.name);
@@ -6273,7 +6273,7 @@ function removeBox(range) {
6273
6273
  return box;
6274
6274
  }
6275
6275
 
6276
- var version = "0.3.6";
6276
+ var version = "0.3.7";
6277
6277
 
6278
6278
  // Converts the custom HTML tags to the special tags that can not be parsed by browser.
6279
6279
  function denormalizeValue(value) {