Skip to content

Commit 8031b0a

Browse files
committed
refactor: simplify success message handling in dataset update process
1 parent 9d4679a commit 8031b0a

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

ui/src/views/dataset/DatasetSetting.vue

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -256,9 +256,7 @@ async function submit() {
256256
} else {
257257
if (detail.value.type === '2') {
258258
datasetApi.putLarkDataset(id, obj, loading).then((res) => {
259-
datasetApi.putReEmbeddingDataset(id).then(() => {
260-
MsgSuccess(t('common.saveSuccess'))
261-
})
259+
MsgSuccess(t('common.saveSuccess'))
262260
})
263261
} else {
264262
datasetApi.putDataset(id, obj, loading).then((res) => {

0 commit comments

Comments
 (0)