auto select first model on startup
This commit is contained in:
parent
ad323f5d6b
commit
a96c51afcb
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue