1
0
Fork 0
mirror of synced 2024-07-03 13:30:46 +12:00

fix autoselecting to sync with url

This commit is contained in:
kevmodrome 2020-04-03 11:27:35 +02:00
parent b5caa57299
commit 0f2e69796f
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