Fix wildwest types, add doc to category

This commit is contained in:
Thomas Zarebczan 2022-05-06 12:00:20 -04:00
parent 208b701998
commit 463e6f5687
No known key found for this signature in database
GPG key ID: 767B41E1BB7346F2

View file

@ -207,7 +207,7 @@ function DiscoverPage(props: Props) {
tileLayout={repostedUri ? false : tileLayout}
defaultOrderBy={isWildWest || tags ? CS.ORDER_BY_TRENDING : undefined}
claimType={claimType ? [claimType] : undefined}
defaultStreamType={isCategory ? [CS.FILE_VIDEO, CS.FILE_AUDIO] : undefined}
defaultStreamType={isCategory && !isWildWest ? [CS.FILE_VIDEO, CS.FILE_AUDIO, CS.FILE_DOCUMENT] : undefined}
headerLabel={headerLabel}
tags={tags}
hiddenNsfwMessage={<HiddenNsfw type="page" />}