chore: 不要なsuccessの呼び出しを削除

This commit is contained in:
yupix 2023-10-27 12:47:59 +00:00
parent bfa095e2ef
commit dea154a1c3
No known key found for this signature in database
GPG Key ID: 2FF705F5C56D9C06
1 changed files with 2 additions and 7 deletions

View File

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