fix: properly update the group list
This commit is contained in:
parent
c0c2d2085e
commit
6b24b362da
@ -165,7 +165,7 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
function updateGroups(event: any) {
|
function updateGroups(event: any) {
|
||||||
groups = list.map(group => group.id !== event.detail.id ? group : event.detail)
|
groups = event.detail;
|
||||||
}
|
}
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user