fix(dashboard): include members array on creation
This commit is contained in:
@@ -50,7 +50,8 @@
|
|||||||
|
|
||||||
loading = true;
|
loading = true;
|
||||||
try {
|
try {
|
||||||
let res = await api().groups().post({data});
|
let res: Group = await api().groups().post({data});
|
||||||
|
res.members = [];
|
||||||
create(res);
|
create(res);
|
||||||
input = JSON.parse(JSON.stringify(defaultGroup));
|
input = JSON.parse(JSON.stringify(defaultGroup));
|
||||||
message = `Group ${data.name} successfully created!`
|
message = `Group ${data.name} successfully created!`
|
||||||
|
Reference in New Issue
Block a user