@megha-ui/react 1.2.699 → 1.2.701
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.
|
@@ -433,6 +433,7 @@ withCard = false, cardClassName, cardHeader, title, headerLeft, headerRight, sub
|
|
|
433
433
|
});
|
|
434
434
|
let value = "";
|
|
435
435
|
const column = gridColumns.find((item) => item.key === columnKey);
|
|
436
|
+
console.log({ filteredValues });
|
|
436
437
|
const nonEmptyValues = filteredValues
|
|
437
438
|
.filter((item) => item.toString() !== "")
|
|
438
439
|
.sort((a, b) => {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
2
2
|
const CalculateDropdown = ({ rowIndex, options, onClose, columnKey, }) => {
|
|
3
|
-
return (_jsx("ul", { style: Object.assign(Object.assign({ position: "absolute", zIndex: 10 }, (rowIndex > 1 ? {
|
|
3
|
+
return (_jsx("ul", { style: Object.assign(Object.assign({ position: "absolute", zIndex: 10 }, (typeof rowIndex === "undefined" || (rowIndex > 1) ? {
|
|
4
4
|
bottom: "2.5rem",
|
|
5
5
|
} : {
|
|
6
6
|
top: "1.5rem"
|
package/package.json
CHANGED