From 30e21d1ce97a946a03bd2cb2941bc0beea17003c Mon Sep 17 00:00:00 2001 From: Qian Xia Date: Wed, 8 Jan 2025 16:56:05 +0800 Subject: [PATCH] [#6154] web(ui): fix error when dropping model (#6155) ### What changes were proposed in this pull request? fix error when dropping model on ui ### Why are the changes needed? N/A Fix: #6154 ### Does this PR introduce _any_ user-facing change? N/A ### How was this patch tested? manually --- web/web/src/lib/store/metalakes/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/web/web/src/lib/store/metalakes/index.js b/web/web/src/lib/store/metalakes/index.js index 2ff3322b8d4..9d4eebc3c9d 100644 --- a/web/web/src/lib/store/metalakes/index.js +++ b/web/web/src/lib/store/metalakes/index.js @@ -1318,7 +1318,7 @@ export const deleteModel = createAsyncThunk( 'appMetalakes/deleteModel', async ({ metalake, catalog, type, schema, model }, { dispatch }) => { dispatch(setTableLoading(true)) - const [err, res] = await to(deleteModleApi({ metalake, catalog, schema, model })) + const [err, res] = await to(deleteModelApi({ metalake, catalog, schema, model })) dispatch(setTableLoading(false)) if (err || !res) {