[AURORA-1076] - фикс счетчика выбранных колонок при повторном выборе "Выбрать все"
This commit is contained in:
parent
dafb8afbe3
commit
183e1c16ca
@ -140,7 +140,7 @@ export const AddStagesModal = ({
|
||||
return acc;
|
||||
}, []);
|
||||
if (!isSelect) {
|
||||
setSelectedColumns(prev => ([...prev, ...leafCols]));
|
||||
setSelectedColumns(prev => ([...new Set([...prev, ...leafCols])]));
|
||||
}
|
||||
else {
|
||||
setSelectedColumns(prev => (prev.filter(c => !leafCols.includes(c))));
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user