Files: added archive folder display for free users
This commit is contained in:
parent
22a24de659
commit
a0975f1d98
@ -379,11 +379,6 @@ public class GlobalFolder
|
||||
return default;
|
||||
}
|
||||
|
||||
if (_userManager.IsUser(_authContext.CurrentAccount.ID))
|
||||
{
|
||||
return default;
|
||||
}
|
||||
|
||||
var key = $"archive/{_tenantManager.GetCurrentTenant().Id}";
|
||||
|
||||
if (!DocSpaceFolderCache.TryGetValue(key, out var result))
|
||||
|
@ -157,11 +157,7 @@ public class FoldersControllerHelper<T> : FilesHelperBase<T>
|
||||
if (!_coreBaseSettings.DisableDocSpace)
|
||||
{
|
||||
yield return await _globalFolderHelper.FolderVirtualRoomsAsync;
|
||||
|
||||
if (!IsUser)
|
||||
{
|
||||
yield return await _globalFolderHelper.FolderArchiveAsync;
|
||||
}
|
||||
yield return await _globalFolderHelper.FolderArchiveAsync;
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user