Fix for when table is deleted, was attempting to retrieve views for the table which no longer exists.

This commit is contained in:
mike12345567 2020-09-18 16:45:03 +01:00
parent 85dcb28375
commit 17588d9f6b
1 changed files with 1 additions and 1 deletions

View File

@ -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
})
},