mirror of
https://github.com/LemmyNet/lemmy-ui.git
synced 2024-11-29 07:41:13 +00:00
Merge pull request #253 from LemmyNet/fix_unban_1
Fixing unban. Fixes #248
This commit is contained in:
commit
479b0f1163
1 changed files with 1 additions and 1 deletions
|
@ -1383,7 +1383,7 @@ export class PostListing extends Component<PostListingProps, PostListingState> {
|
||||||
}
|
}
|
||||||
|
|
||||||
handleModBanBothSubmit(i: PostListing, event?: any) {
|
handleModBanBothSubmit(i: PostListing, event?: any) {
|
||||||
event.preventDefault();
|
if (event) event.preventDefault();
|
||||||
|
|
||||||
if (i.state.banType == BanType.Community) {
|
if (i.state.banType == BanType.Community) {
|
||||||
// If its an unban, restore all their data
|
// If its an unban, restore all their data
|
||||||
|
|
Loading…
Reference in a new issue