From 371d3e1009e53d4b351e227a4825fbf6eb9e6327 Mon Sep 17 00:00:00 2001 From: Dessalines Date: Sun, 25 Aug 2019 00:22:46 -0700 Subject: [PATCH] Fixing removing communities. --- docker/prod/docker-compose.yml | 2 +- ui/src/components/sidebar.tsx | 2 ++ ui/src/version.ts | 2 +- 3 files changed, 4 insertions(+), 2 deletions(-) diff --git a/docker/prod/docker-compose.yml b/docker/prod/docker-compose.yml index fc8efded..0e64c051 100644 --- a/docker/prod/docker-compose.yml +++ b/docker/prod/docker-compose.yml @@ -10,7 +10,7 @@ services: volumes: - lemmy_db:/var/lib/postgresql/data lemmy: - image: dessalines/lemmy:v0.0.8.1 + image: dessalines/lemmy:v0.0.8.2 ports: - "8536:8536" environment: 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