mirror of
https://github.com/PluralKit/PluralKit.git
synced 2026-02-12 16:50:10 +00:00
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
1 changed files with 3 additions and 6 deletions
|
|
@ -85,14 +85,11 @@
|
||||||
function addItemToList(event: any) {
|
function addItemToList(event: any) {
|
||||||
if (itemType === "member") {
|
if (itemType === "member") {
|
||||||
members.push(event.detail);
|
members.push(event.detail);
|
||||||
members = members;
|
list = members;
|
||||||
} else if (itemType === "group") {
|
} else if (itemType === "group") {
|
||||||
|
groups.push(event.detail);
|
||||||
|
list = groups;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
list.push(event.detail);
|
|
||||||
list = list;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/* function updateList(event: any) {
|
/* function updateList(event: any) {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue