diff options
author | Dessalines <tyhou13@gmx.com> | 2019-08-25 00:22:46 -0700 |
---|---|---|
committer | Dessalines <tyhou13@gmx.com> | 2019-08-25 00:22:46 -0700 |
commit | 4e9c0710493a54cc9352ea25e4c1e50ac872e407 (patch) | |
tree | 2c3ef7438fba4df893bd7e99557f2e760568353c /ui/src/components | |
parent | ccb58f6ff28a912af44226f05b90629b36ca86d9 (diff) |
Fixing removing communities.
Diffstat (limited to 'ui/src/components')
-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 020ad018..df5ad097 100644 --- a/ui/src/components/sidebar.tsx +++ b/ui/src/components/sidebar.tsx @@ -164,6 +164,7 @@ export class Sidebar extends Component<SidebarProps, SidebarState> { category_id: i.props.community.category_id, edit_id: i.props.community.id, deleted: !i.props.community.deleted, + nsfw: i.props.community.nsfw, auth: null, }; WebSocketService.Instance.editCommunity(deleteForm); @@ -223,6 +224,7 @@ export class Sidebar extends Component<SidebarProps, SidebarState> { removed: !i.props.community.removed, reason: i.state.removeReason, expires: getUnixTime(i.state.removeExpires), + nsfw: i.props.community.nsfw, auth: null, }; WebSocketService.Instance.editCommunity(deleteForm); |