impact-ui 4.0.2-alpha.3 → 4.0.2-alpha.4
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.
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AgGridHeader.d.ts","sourceRoot":"","sources":["../../../src/components/Table/AgGridHeader.tsx"],"names":[],"mappings":"AA8BA,iBAAS,YAAY,CAAC,EACpB,QAAQ,EACR,SAAS,EACT,kBAAkB,EAClB,uBAAuB,EACvB,qBAAqB,EACrB,YAAY,EACZ,cAAc,EACd,oBAA2B,EAC3B,GAAG,IAAI,EACR;;;;;;;;;;CAAA,
|
|
1
|
+
{"version":3,"file":"AgGridHeader.d.ts","sourceRoot":"","sources":["../../../src/components/Table/AgGridHeader.tsx"],"names":[],"mappings":"AA8BA,iBAAS,YAAY,CAAC,EACpB,QAAQ,EACR,SAAS,EACT,kBAAkB,EAClB,uBAAuB,EACvB,qBAAqB,EACrB,YAAY,EACZ,cAAc,EACd,oBAA2B,EAC3B,GAAG,IAAI,EACR;;;;;;;;;;CAAA,kDAy8BA;AAED,eAAe,YAAY,CAAC"}
|
|
@@ -597,9 +597,14 @@ function AgGridHeader({
|
|
|
597
597
|
setIsSelectAll(false);
|
|
598
598
|
},
|
|
599
599
|
onDropdownClose: () => {
|
|
600
|
-
if (isMultiSelect
|
|
601
|
-
|
|
602
|
-
|
|
600
|
+
if (isMultiSelect) {
|
|
601
|
+
if ((selectedDropdownOption == null ? void 0 : selectedDropdownOption.length) > 0) {
|
|
602
|
+
setHasActiveSearch(true);
|
|
603
|
+
handleSearchChange(selectedDropdownOption);
|
|
604
|
+
} else {
|
|
605
|
+
setHasActiveSearch(false);
|
|
606
|
+
handleSearchChange(null);
|
|
607
|
+
}
|
|
603
608
|
}
|
|
604
609
|
},
|
|
605
610
|
withPortal: true,
|