Files: hid trash for user
This commit is contained in:
parent
8baaa2b83e
commit
5a7d46a6fd
@ -147,7 +147,7 @@ public class FoldersControllerHelper<T> : FilesHelperBase<T>
|
||||
yield return await _globalFolderHelper.FolderTemplatesAsync;
|
||||
}
|
||||
|
||||
if (!withoutTrash)
|
||||
if (!withoutTrash && !IsVisitor)
|
||||
{
|
||||
yield return (int)_globalFolderHelper.FolderTrash;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user