fix autoselecting to sync with url

This commit is contained in:
kevmodrome 2020-04-03 11:27:35 +02:00
parent 13dba18215
commit a78056f6b5
2 changed files with 1 additions and 2 deletions

View File

@ -3,7 +3,6 @@
import { goto } from "@sveltech/routify"
import { store, backendUiStore } from "builderStore"
import api from "builderStore/api"
import getIcon from "../common/icon"
import { CheckIcon } from "../common/Icons"
$: instances = $store.appInstances
@ -30,6 +29,7 @@
onMount(() => {
if ($store.appInstances.length > 0) {
selectDatabase($store.appInstances[0])
$goto(`./database/${$backendUiStore.selectedDatabase.id}`)
}
})
</script>

View File

@ -1 +0,0 @@
Please select a database