fix invites
This commit is contained in:
parent
d5a52451b5
commit
6332285265
@ -68,9 +68,15 @@ export class InvitesComponent implements OnInit {
|
||||
}
|
||||
})
|
||||
|
||||
if(!this.invites) {
|
||||
this.inviteService.get(this.quota).subscribe((data: any) => {
|
||||
this.invites = data;
|
||||
})
|
||||
} else {
|
||||
this.inviteService.getPages(this.quota, this.invites.number || 0, this.invites.size || 10, this.searchFormControl.value ? this.searchFormControl.value : "").subscribe((data: any) => {
|
||||
this.invites = data;
|
||||
}, (error) => {})
|
||||
}
|
||||
|
||||
this.inviteService.getOthers(this.quota).subscribe((data: any) => {
|
||||
this.others = data;
|
||||
|
Loading…
Reference in New Issue
Block a user