fix: fix member list appearing empty

This commit is contained in:
Draconizations 2022-04-27 20:15:57 +02:00
parent dcffe317e7
commit 4ba3fc4d16
2 changed files with 4 additions and 2 deletions

View File

@ -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>

View File

@ -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();