fix: fix member list appearing empty
This commit is contained in:
parent
dcffe317e7
commit
4ba3fc4d16
@ -174,7 +174,9 @@
|
||||
}
|
||||
|
||||
function addGroupToList(event: any) {
|
||||
list.push(event.detail);
|
||||
let group = event.detail;
|
||||
group.members = members;
|
||||
list.push(group);
|
||||
list = list;
|
||||
}
|
||||
</script>
|
||||
|
@ -42,7 +42,7 @@
|
||||
loading = true;
|
||||
try {
|
||||
let res = await api().groups(group.id).patch({data});
|
||||
group = res;
|
||||
group = {...group, ...res};
|
||||
update();
|
||||
loading = false;
|
||||
togglePrivacyModal();
|
||||
|
Loading…
Reference in New Issue
Block a user