fix(dashboard): fix duplication after member creation
aka: what in the actual world was i doing here
This commit is contained in:
parent
191136cd94
commit
a0d0bc2903
@ -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) {
|
||||
|
Loading…
Reference in New Issue
Block a user