Actually hide NSFW content #1748

Merged
neb-b merged 8 commits from hide-nsfw into master 2018-07-13 20:31:15 +02:00
Showing only changes of commit 5f06812c9d - Show all commits

View file

@ -78,6 +78,7 @@ export default class extends React.PureComponent<Props> {
return (
<Page notContained loading={isFetchingSubscriptions}>
<HiddenNsfwClaims uris={subscriptionUris} />
{!subscriptions.length && (
<div className="page__empty">
{__("It looks like you aren't subscribed to any channels yet.")}
@ -87,7 +88,6 @@ export default class extends React.PureComponent<Props> {
</div>
)}
{!!claimList.length && <FileList hideFilter sortByHeight fileInfos={claimList} />}
<HiddenNsfwClaims uris={subscriptionUris} />
</Page>
);
}