Fixing removing communities.

pull/722/head
Dessalines 2019-08-25 00:22:46 -07:00
parent ccb58f6ff2
commit 4e9c071049
3 changed files with 4 additions and 2 deletions

View File

@ -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:

View File

@ -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);

2
ui/src/version.ts vendored
View File

@ -1 +1 @@
export let version: string = "v0.0.8.1-0-gc9e8f63";
export let version: string = "v0.0.8.2-0-g6c8a84a";