chore: 誤って削除した必要なコードを元通りに
This commit is contained in:
parent
a194bdb555
commit
f1cb7a0fe3
|
|
@ -156,7 +156,9 @@ function save() {
|
||||||
params.channelId = props.channelId;
|
params.channelId = props.channelId;
|
||||||
os.apiWithDialog('channels/update', params);
|
os.apiWithDialog('channels/update', params);
|
||||||
} else {
|
} else {
|
||||||
os.apiWithDialog('channels/create', params);
|
os.apiWithDialog('channels/create', params).then(created => {
|
||||||
|
router.push(`/channels/${created.id}`);
|
||||||
|
});
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue