Fix group membership gets updated on leave

master
Max 5 years ago
parent 6135315e16
commit 3ff4b070c4

@ -188,7 +188,9 @@ export class GroupComponent implements OnInit {
}
leaveGroup() {
this.groupService.leaveGroup(this.groupProfile.id).subscribe();
this.groupService.leaveGroup(this.groupProfile.id).subscribe(response => {
this.groupProfile.joined = false;
});
}
}

Loading…
Cancel
Save