Web: Files: fixed getHeaderIndeterminate selector
This commit is contained in:
parent
dcccb1180f
commit
9c8f2c61c5
@ -1028,7 +1028,9 @@ export const getHeaderIndeterminate = createSelector(
|
|||||||
getSelectionLength,
|
getSelectionLength,
|
||||||
getItemsList,
|
getItemsList,
|
||||||
(headerVisible, selectionLength, items) => {
|
(headerVisible, selectionLength, items) => {
|
||||||
return headerVisible && selectionLength < items.length;
|
return headerVisible && selectionLength
|
||||||
|
? selectionLength < items.length
|
||||||
|
: false;
|
||||||
}
|
}
|
||||||
);
|
);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user