Web: Files: fixed getHeaderIndeterminate selector

This commit is contained in:
Nikita Gopienko 2020-11-24 17:41:29 +03:00
parent dcccb1180f
commit 9c8f2c61c5

View File

@ -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;
} }
); );