Fix for when table is deleted, was attempting to retrieve views for the table which no longer exists.
This commit is contained in:
parent
85dcb28375
commit
17588d9f6b
|
@ -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