auto select first model on startup
This commit is contained in:
parent
9b55870c24
commit
57a917f9d9
|
@ -22,6 +22,7 @@ export const getBackendUiStore = () => {
|
||||||
const views = await viewsResponse.json()
|
const views = await viewsResponse.json()
|
||||||
store.update(state => {
|
store.update(state => {
|
||||||
state.selectedDatabase = db
|
state.selectedDatabase = db
|
||||||
|
state.selectedModel = models && models.length > 0 && models[0]
|
||||||
state.breadcrumbs = [db.name]
|
state.breadcrumbs = [db.name]
|
||||||
state.models = models
|
state.models = models
|
||||||
state.views = views
|
state.views = views
|
||||||
|
|
Loading…
Reference in New Issue