This is an automated email from the ASF dual-hosted git repository.
jshao pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/gravitino.git
The following commit(s) were added to refs/heads/main by this push:
new 30e21d1ce [#6154] web(ui): fix error when dropping model (#6155)
30e21d1ce is described below
commit 30e21d1ce97a946a03bd2cb2941bc0beea17003c
Author: Qian Xia <[email protected]>
AuthorDate: Wed Jan 8 16:56:05 2025 +0800
[#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 2ff3322b8..9d4eebc3c 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) {