Fix for when table is deleted, was attempting to retrieve views for the table which no longer exists.
This commit is contained in:
parent
3f6547db4b
commit
f399c10f1c
|
@ -82,7 +82,7 @@ export const getBackendUiStore = () => {
|
|||
state.models = state.models.filter(
|
||||
existing => existing._id !== model._id
|
||||
)
|
||||
state.selectedModel = state.models[0] || {}
|
||||
state.selectedModel = {}
|
||||
return state
|
||||
})
|
||||
},
|
||||
|
|
Loading…
Reference in New Issue