sccoreui 6.1.39 → 6.1.40
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.
|
@@ -223,7 +223,12 @@ function ParentForGrid(props) {
|
|
|
223
223
|
return (_b = (_a = fillOperationParams === null || fillOperationParams === void 0 ? void 0 : fillOperationParams.rowNode) === null || _a === void 0 ? void 0 : _a.data) === null || _b === void 0 ? void 0 : _b[(_c = fillOperationParams === null || fillOperationParams === void 0 ? void 0 : fillOperationParams.column) === null || _c === void 0 ? void 0 : _c.colId];
|
|
224
224
|
};
|
|
225
225
|
const getDataPath = (0, react_1.useCallback)((data) => {
|
|
226
|
-
return data.orgHierarchy
|
|
226
|
+
return data.orgHierarchy.map((item, index) => {
|
|
227
|
+
if (item === "") {
|
|
228
|
+
return `empty_${index}_${data.id}`; // Ensure uniqueness for empty hierarchy levels
|
|
229
|
+
}
|
|
230
|
+
return item;
|
|
231
|
+
});
|
|
227
232
|
}, []);
|
|
228
233
|
console.log(onCellMouseDown, wrapperToFillOpertation, myOpertaion);
|
|
229
234
|
// Options that grid should have
|