add CollectionSummaryType type hidden
This commit is contained in:
parent
f030d94a0f
commit
923bc858e4
|
@ -269,6 +269,11 @@ const SelectedFileOptions = ({
|
|||
</IconButton>
|
||||
</Tooltip>
|
||||
)}
|
||||
<Tooltip title={t('HIDE')}>
|
||||
<IconButton onClick={hideFilesHelper}>
|
||||
<VisibilityOffOutlined />
|
||||
</IconButton>
|
||||
</Tooltip>
|
||||
{activeCollection !== ALL_SECTION &&
|
||||
activeCollection !== ARCHIVE_SECTION &&
|
||||
!isFavoriteCollection && (
|
||||
|
|
|
@ -1002,6 +1002,8 @@ export async function getCollectionSummaries(
|
|||
? CollectionSummaryType.sharedOnlyViaLink
|
||||
: IsArchived(collection)
|
||||
? CollectionSummaryType.archived
|
||||
: isCollectionHidden(collection)
|
||||
? CollectionSummaryType.hidden
|
||||
: CollectionSummaryType[collection.type],
|
||||
});
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue