vsp-choose-form2-2: выбор ВСП на фронте #74
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
@ -189,7 +189,7 @@ export const getTableColumns = ({
|
||||
|
||||
// Оптимизированная функция processColumns
|
||||
const processColumns = (columns) => {
|
||||
columns.forEach((col) => {
|
||||
for (const col of columns) {
|
||||
col.Cell = ({ cell, table, column, row }) => {
|
||||
const { vspOptions } = useRealtime();
|
||||
const props = getCachedCellProps(row, column, table);
|
||||
@ -229,7 +229,8 @@ export const getTableColumns = ({
|
||||
processColumns(col.columns);
|
||||
}
|
||||
}
|
||||
};
|
||||
}
|
||||
|
||||
|
||||
processColumns(columns);
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user