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 3f6547db4b
commit f399c10f1c
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
})
},