Web: Files: fixed files filter

This commit is contained in:
Nikita Gopienko 2021-05-27 14:49:40 +03:00
parent 3ad8b7e1dc
commit 2cf57ece75

View File

@ -302,8 +302,9 @@ export default inject(({ auth, filesStore, selectedFolderStore }) => {
const { user } = auth.userStore;
const { customNames, culture } = auth.settingsStore;
const { search, filterType } = filter;
const isFiltered = !!files.length || !!folders.length || search || filterType;
const { search, filterType, authorType } = filter;
const isFiltered =
!!files.length || !!folders.length || search || filterType || authorType;
return {
customNames,