Skip to content

Commit

Permalink
[#6154] web(ui): fix error when dropping model (#6155)
Browse files Browse the repository at this point in the history
### 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
  • Loading branch information
LauraXia123 authored Jan 8, 2025
1 parent 99f72bd commit 30e21d1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion web/web/src/lib/store/metalakes/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit 30e21d1

Please sign in to comment.