форматирование
This commit is contained in:
parent
6b956f7664
commit
79d4008fcd
@ -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 {
|
||||
|
||||
@ -72,7 +72,7 @@ export const ChessContent = ({ card }: { card: VersionCard | null }) => {
|
||||
return () => document.removeEventListener('fullscreenchange', handleFullscreenChange);
|
||||
}, []);
|
||||
|
||||
const isHalfFiltered = (debit.length > 0 && credit.length === 0) || (debit.length === 0 && credit.length > 0);
|
||||
const isHalfFiltered = (debit.length > 0 && credit.length === 0) || (debit.length === 0 && credit.length > 0);
|
||||
|
||||
const loadData = useCallback(
|
||||
async (vId: string, dIds: string[], cIds: string[], isActual: () => boolean) => {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user