Merge branch 'bugfix/v0.1.6' of https://github.com/ONLYOFFICE/AppServer into bugfix/v0.1.6

This commit is contained in:
Alexey Safronov 2021-04-14 15:56:58 +03:00
commit c93285e4fb

View File

@ -133,8 +133,7 @@ const SectionPagingContent = ({
const showCountItem = useMemo(() => {
if (files && folders)
return (
files.length + folders.length === filter.pageCount ||
(pageItems.length < 1 && filter.total > 25)
files.length + folders.length === filter.pageCount || filter.total > 25
);
}, [files, folders, filter, pageItems]);