chore: 不要なsuccessの呼び出しを削除
This commit is contained in:
parent
bfa095e2ef
commit
dea154a1c3
|
|
@ -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}`);
|
|
||||||
});
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue