From 4e9c0710493a54cc9352ea25e4c1e50ac872e407 Mon Sep 17 00:00:00 2001 From: Dessalines Date: Sun, 25 Aug 2019 00:22:46 -0700 Subject: Fixing removing communities. --- ui/src/components/sidebar.tsx | 2 ++ ui/src/version.ts | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) (limited to 'ui') 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 { 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 { 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); diff --git a/ui/src/version.ts b/ui/src/version.ts index ed343a0b..85a7d4ac 100644 --- a/ui/src/version.ts +++ b/ui/src/version.ts @@ -1 +1 @@ -export let version: string = "v0.0.8.1-0-gc9e8f63"; \ No newline at end of file +export let version: string = "v0.0.8.2-0-g6c8a84a"; \ No newline at end of file -- cgit v1.2.3