fix(dashboard): include members array on creation

This commit is contained in:
Jake/Rads 2022-06-30 16:24:20 +02:00
parent ed526eddb1
commit 1bdee69c9b

View File

@ -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!`