mirror of
https://github.com/LemmyNet/lemmy.git
synced 2024-11-12 18:56:12 +00:00
Fixing removing communities.
This commit is contained in:
parent
ccb58f6ff2
commit
4e9c071049
2
docker/prod/docker-compose.yml
vendored
2
docker/prod/docker-compose.yml
vendored
|
@ -10,7 +10,7 @@ services:
|
||||||
volumes:
|
volumes:
|
||||||
- lemmy_db:/var/lib/postgresql/data
|
- lemmy_db:/var/lib/postgresql/data
|
||||||
lemmy:
|
lemmy:
|
||||||
image: dessalines/lemmy:v0.0.8.1
|
image: dessalines/lemmy:v0.0.8.2
|
||||||
ports:
|
ports:
|
||||||
- "8536:8536"
|
- "8536:8536"
|
||||||
environment:
|
environment:
|
||||||
|
|
2
ui/src/components/sidebar.tsx
vendored
2
ui/src/components/sidebar.tsx
vendored
|
@ -164,6 +164,7 @@ export class Sidebar extends Component<SidebarProps, SidebarState> {
|
||||||
category_id: i.props.community.category_id,
|
category_id: i.props.community.category_id,
|
||||||
edit_id: i.props.community.id,
|
edit_id: i.props.community.id,
|
||||||
deleted: !i.props.community.deleted,
|
deleted: !i.props.community.deleted,
|
||||||
|
nsfw: i.props.community.nsfw,
|
||||||
auth: null,
|
auth: null,
|
||||||
};
|
};
|
||||||
WebSocketService.Instance.editCommunity(deleteForm);
|
WebSocketService.Instance.editCommunity(deleteForm);
|
||||||
|
@ -223,6 +224,7 @@ export class Sidebar extends Component<SidebarProps, SidebarState> {
|
||||||
removed: !i.props.community.removed,
|
removed: !i.props.community.removed,
|
||||||
reason: i.state.removeReason,
|
reason: i.state.removeReason,
|
||||||
expires: getUnixTime(i.state.removeExpires),
|
expires: getUnixTime(i.state.removeExpires),
|
||||||
|
nsfw: i.props.community.nsfw,
|
||||||
auth: null,
|
auth: null,
|
||||||
};
|
};
|
||||||
WebSocketService.Instance.editCommunity(deleteForm);
|
WebSocketService.Instance.editCommunity(deleteForm);
|
||||||
|
|
2
ui/src/version.ts
vendored
2
ui/src/version.ts
vendored
|
@ -1 +1 @@
|
||||||
export let version: string = "v0.0.8.1-0-gc9e8f63";
|
export let version: string = "v0.0.8.2-0-g6c8a84a";
|
Loading…
Reference in a new issue