fix(dashboard): fix duplication after member creation

aka: what in the actual world was i doing here
This commit is contained in:
Jake/Rads 2022-06-25 22:31:23 +02:00
parent 191136cd94
commit a0d0bc2903

View File

@ -85,14 +85,11 @@
function addItemToList(event: any) {
if (itemType === "member") {
members.push(event.detail);
members = members;
list = members;
} else if (itemType === "group") {
groups.push(event.detail);
list = groups;
}
list.push(event.detail);
list = list;
}
/* function updateList(event: any) {