chore: 誤って削除した必要なコードを元通りに

This commit is contained in:
yupix 2023-10-28 07:21:40 +00:00
parent a194bdb555
commit f1cb7a0fe3
No known key found for this signature in database
GPG Key ID: 2FF705F5C56D9C06
1 changed files with 3 additions and 1 deletions

View File

@ -156,7 +156,9 @@ function save() {
params.channelId = props.channelId;
os.apiWithDialog('channels/update', params);
} else {
os.apiWithDialog('channels/create', params);
os.apiWithDialog('channels/create', params).then(created => {
router.push(`/channels/${created.id}`);
});
}
}