mirror of
https://github.com/PluralKit/PluralKit.git
synced 2026-02-12 08:40:11 +00:00
fix: only pass values that are used to edit components
This commit is contained in:
parent
2bcaabc5ae
commit
27a7f73cc7
6 changed files with 6 additions and 6 deletions
|
|
@ -11,7 +11,7 @@
|
|||
|
||||
let err: string[] = [];
|
||||
|
||||
let input = new Group(group);
|
||||
let input = new Group({name: group.name, display_name: group.display_name, banner: group.banner, color: group.color, icon: group.icon, description: group.description});
|
||||
|
||||
const dispatch = createEventDispatcher();
|
||||
|
||||
|
|
|
|||
|
|
@ -30,7 +30,7 @@
|
|||
dispatch('update', group);
|
||||
}
|
||||
|
||||
let input = new Group(group);
|
||||
let input = new Group({privacy: group.privacy});
|
||||
|
||||
async function submit() {
|
||||
let data = input;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue