Browse Source

Fixing removing communities.

pull/1/head
Dessalines 3 years ago
parent
commit
e819090495
  1. 2
      src/components/sidebar.tsx
  2. 2
      src/version.ts

2
src/components/sidebar.tsx

@ -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
src/version.ts

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