форматирование

This commit is contained in:
Grog 2026-10-23 09:30:17 +03:00
parent 6b956f7664
commit 79d4008fcd
2 changed files with 3 additions and 3 deletions

View File

@ -145,8 +145,8 @@ export const TreeFilterDropdown: React.FC<TreeFilterDropdownProps> = ({
if (parentNode?.key) {
const childrens = getAllDescendants(parentNode as OptionType);
const isAllChildrenSelected = childrens.every((childKey) => newKeys.has(childKey));
if(!isAllChildrenSelected){
newKeys.delete(parentNode.key)
if (!isAllChildrenSelected) {
newKeys.delete(parentNode.key);
}
}
} else {