1
0
Fork 0
mirror of synced 2024-07-02 21:10:43 +12:00

auto select first model on startup

This commit is contained in:
Michael Shanks 2020-06-02 09:36:21 +01:00
parent 9b55870c24
commit 57a917f9d9

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