Goto on new

This commit is contained in:
Adria Navarro 2025-03-14 13:02:22 +01:00
parent e3c560e0c0
commit 5288a142fb
1 changed files with 4 additions and 1 deletions

View File

@ -9,6 +9,7 @@
Layout, Layout,
} from "@budibase/bbui" } from "@budibase/bbui"
import { goto } from "@roxi/routify" import { goto } from "@roxi/routify"
import { appStore } from "@/stores/builder"
export let authConfigId: string | undefined export let authConfigId: string | undefined
export let authConfigs: { label: string; value: string }[] export let authConfigs: { label: string; value: string }[]
@ -23,7 +24,9 @@
} }
function addBasicConfiguration() { function addBasicConfiguration() {
$goto(`../../datasource/${datasourceId}?&tab=Authentication`) $goto(
`/builder/app/${$appStore.appId}/data/datasource/${datasourceId}?&tab=Authentication`
)
} }
function selectConfiguration(id: string) { function selectConfiguration(id: string) {