auto select model after creation

This commit is contained in:
Michael Shanks 2020-06-02 07:56:50 +01:00
parent afe8713e6f
commit 9b55870c24
1 changed files with 1 additions and 0 deletions

View File

@ -51,6 +51,7 @@ export const getBackendUiStore = () => {
store.update(state => { store.update(state => {
state.models.push(model) state.models.push(model)
state.models = state.models state.models = state.models
state.selectedModel = model
return state return state
}), }),
}, },