Fixed waiting for responses in code for certain actions.
This commit is contained in:
@ -52,6 +52,7 @@ export class GroupItemEditComponent implements OnInit {
|
||||
if (this.formGroup.invalid || this.waitForResponse)
|
||||
return;
|
||||
|
||||
this.waitForResponse = true;
|
||||
this._client.first((d: any) => d.op == 4 && d.d.request.type == 'create_group' && d.d.data.name == this.nameForm.value)
|
||||
.subscribe({
|
||||
next: (d) => this._dialogRef.close(d.d.data),
|
||||
|
Reference in New Issue
Block a user