Web: Files: fixed onBackToParentFolder

This commit is contained in:
Nikita Gopienko 2021-10-28 13:50:04 +03:00
parent 8c6a3f9fcd
commit 0d6cacb1b7

View File

@ -295,7 +295,7 @@ class SectionHeaderContent extends React.Component {
onBackToParentFolder = () => {
const { setIsLoading, parentId, filter, fetchFiles } = this.props;
setIsLoading(true);
fetchFiles(parentId, filter).finally(() => setIsLoading(false));
fetchFiles(parentId, null, true, false).finally(() => setIsLoading(false));
};
onCheck = (checked) => {