chore: 不要なsuccessの呼び出しを削除
This commit is contained in:
@@ -154,14 +154,9 @@ function save() {
|
|||||||
|
|
||||||
if (props.channelId) {
|
if (props.channelId) {
|
||||||
params.channelId = props.channelId;
|
params.channelId = props.channelId;
|
||||||
os.apiWithDialog('channels/update', params).then(() => {
|
os.apiWithDialog('channels/update', params);
|
||||||
os.success();
|
|
||||||
});
|
|
||||||
} else {
|
} else {
|
||||||
os.apiWithDialog('channels/create', params).then(created => {
|
os.apiWithDialog('channels/create', params);
|
||||||
os.success();
|
|
||||||
router.push(`/channels/${created.id}`);
|
|
||||||
});
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user