From: Dessalines Date: Sun, 25 Aug 2019 07:22:46 +0000 (-0700) Subject: Fixing removing communities. X-Git-Url: http://these/git/%7B%60https:/%7B%60/css/themes/static/test?a=commitdiff_plain;h=4e9c0710493a54cc9352ea25e4c1e50ac872e407;p=lemmy.git Fixing removing communities. --- 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