diff options
author | Dessalines <tyhou13@gmx.com> | 2020-07-11 19:12:56 -0400 |
---|---|---|
committer | Dessalines <tyhou13@gmx.com> | 2020-07-11 19:12:56 -0400 |
commit | 60288b2d060ba930fe6cae22c4824d88fe7a00c9 (patch) | |
tree | 8fed01325853240c69f3688ee621be29bedfd382 /ui/src/components/sidebar.tsx | |
parent | 1710844a1bc6a4f46eceaa12f2fb428cb794c694 (diff) | |
parent | 1b9f2fa5f7f7831f59b24cb36a5607a769a0d92e (diff) |
Merge branch 'master' into jmarthernandez-remove-karma-from-search
Diffstat (limited to 'ui/src/components/sidebar.tsx')
-rw-r--r-- | ui/src/components/sidebar.tsx | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/ui/src/components/sidebar.tsx b/ui/src/components/sidebar.tsx index 17ac64b9..42abf65a 100644 --- a/ui/src/components/sidebar.tsx +++ b/ui/src/components/sidebar.tsx @@ -19,6 +19,7 @@ interface SidebarProps { moderators: Array<CommunityUser>; admins: Array<UserView>; online: number; + enableNsfw: boolean; } interface SidebarState { @@ -53,6 +54,7 @@ export class Sidebar extends Component<SidebarProps, SidebarState> { community={this.props.community} onEdit={this.handleEditCommunity} onCancel={this.handleEditCancel} + enableNsfw={this.props.enableNsfw} /> )} </div> |