auto select first model on startup

This commit is contained in:
Michael Shanks 2020-06-02 09:36:21 +01:00
parent ad323f5d6b
commit a96c51afcb
1 changed files with 1 additions and 0 deletions

View File

@ -22,6 +22,7 @@ export const getBackendUiStore = () => {
const views = await viewsResponse.json()
store.update(state => {
state.selectedDatabase = db
state.selectedModel = models && models.length > 0 && models[0]
state.breadcrumbs = [db.name]
state.models = models
state.views = views