@megha-ui/react 1.2.609 → 1.2.610
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.
|
@@ -89,6 +89,14 @@ withCard = false, cardClassName, cardHeader, title, headerLeft, headerRight, sub
|
|
|
89
89
|
return gridColumns.filter((col) => col.fixedFilter && col.fixedFilter !== "");
|
|
90
90
|
}, [gridColumns]);
|
|
91
91
|
const [fixedFilterValues, setFixedFilterValues] = useState({});
|
|
92
|
+
const shouldCover = useMemo(() => {
|
|
93
|
+
if (filterColumns.length > 0) {
|
|
94
|
+
const gridActions = document.querySelector("#grid-action");
|
|
95
|
+
console.log(gridActions);
|
|
96
|
+
return true;
|
|
97
|
+
}
|
|
98
|
+
return true;
|
|
99
|
+
}, [fixedColumns]);
|
|
92
100
|
useEffect(() => {
|
|
93
101
|
setSummariseAvailable(isSummarise);
|
|
94
102
|
}, [isSummarise]);
|
|
@@ -1374,7 +1382,7 @@ withCard = false, cardClassName, cardHeader, title, headerLeft, headerRight, sub
|
|
|
1374
1382
|
cursor: "pointer",
|
|
1375
1383
|
marginLeft: "0.75rem",
|
|
1376
1384
|
color: "var(--clear-color)",
|
|
1377
|
-
}, children: _jsx(TbCalculatorOff, {}) })),
|
|
1385
|
+
}, children: _jsx(TbCalculatorOff, {}) })), shouldCover && _jsx("div", { className: "flex-1 h-2" }), fixedColumns.map((column) => {
|
|
1378
1386
|
const selectedValues = fixedFilterValues[column.key]
|
|
1379
1387
|
? fixedFilterValues[column.key].map((item) => item.toString())
|
|
1380
1388
|
: [];
|
package/package.json
CHANGED