diff options
author | Dessalines <tyhou13@gmx.com> | 2019-08-13 19:52:43 -0700 |
---|---|---|
committer | Dessalines <tyhou13@gmx.com> | 2019-08-13 19:52:43 -0700 |
commit | d7ab85ab70478f1ec440c920d726d08b145cef5e (patch) | |
tree | cc799c34a29c4e6070a3f3a34823e7c091cddaad /ui/src/components/community.tsx | |
parent | ad4dbbcd7726e75aea1e06111a1af3039cbeca70 (diff) |
Squashed commit of the following:
commit ecd6c5a2f47cbbb2fc4bf482fadd78380303a904
Author: Dessalines <happydooby@gmail.com>
Date: Tue Aug 13 19:49:38 2019 -0700
Adding some docs
commit 3babd09affb1920da3d0a0ceb7e24c8aeeb9cf1a
Author: Dessalines <happydooby@gmail.com>
Date: Tue Aug 13 19:28:46 2019 -0700
Adding save user settings
commit 6e8da9cc9e522d0da668bfa31944c3348cc79620
Merge: 3246d5d c148eef
Author: Dessalines <happydooby@gmail.com>
Date: Tue Aug 13 17:26:25 2019 -0700
Merge branch 'dev' into nsfw
commit b3d4a5c4ce441bcc664704aba44cedb51d887599
Author: Dessalines <happydooby@gmail.com>
Date: Sun Aug 11 20:55:09 2019 -0700
nsfw mostly done, except for settings page.
Diffstat (limited to 'ui/src/components/community.tsx')
-rw-r--r-- | ui/src/components/community.tsx | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/ui/src/components/community.tsx b/ui/src/components/community.tsx index 480b909e..b9f9c8b2 100644 --- a/ui/src/components/community.tsx +++ b/ui/src/components/community.tsx @@ -37,6 +37,7 @@ export class Community extends Component<any, State> { number_of_comments: null, published: null, removed: null, + nsfw: false, deleted: null, }, moderators: [], @@ -105,6 +106,9 @@ export class Community extends Component<any, State> { {this.state.community.removed && <small className="ml-2 text-muted font-italic"><T i18nKey="removed">#</T></small> } + {this.state.community.nsfw && + <small className="ml-2 text-muted font-italic"><T i18nKey="nsfw">#</T></small> + } </h5> {this.selects()} <PostListings posts={this.state.posts} /> |