mirror of
https://github.com/PluralKit/PluralKit.git
synced 2026-02-04 13:06:50 +00:00
fix: fix member list appearing empty
This commit is contained in:
parent
dcffe317e7
commit
4ba3fc4d16
2 changed files with 4 additions and 2 deletions
|
|
@ -174,7 +174,9 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
function addGroupToList(event: any) {
|
function addGroupToList(event: any) {
|
||||||
list.push(event.detail);
|
let group = event.detail;
|
||||||
|
group.members = members;
|
||||||
|
list.push(group);
|
||||||
list = list;
|
list = list;
|
||||||
}
|
}
|
||||||
</script>
|
</script>
|
||||||
|
|
|
||||||
|
|
@ -42,7 +42,7 @@
|
||||||
loading = true;
|
loading = true;
|
||||||
try {
|
try {
|
||||||
let res = await api().groups(group.id).patch({data});
|
let res = await api().groups(group.id).patch({data});
|
||||||
group = res;
|
group = {...group, ...res};
|
||||||
update();
|
update();
|
||||||
loading = false;
|
loading = false;
|
||||||
togglePrivacyModal();
|
togglePrivacyModal();
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue