diff --git a/dashboard/src/lib/group/NewGroup.svelte b/dashboard/src/lib/group/NewGroup.svelte index 0aecda87..4282f53d 100644 --- a/dashboard/src/lib/group/NewGroup.svelte +++ b/dashboard/src/lib/group/NewGroup.svelte @@ -50,7 +50,8 @@ loading = true; try { - let res = await api().groups().post({data}); + let res: Group = await api().groups().post({data}); + res.members = []; create(res); input = JSON.parse(JSON.stringify(defaultGroup)); message = `Group ${data.name} successfully created!`