Merge pull request #11180 from Budibase/fix/curl-import
Honour the datasource id passed to `RestImportButton`
This commit is contained in:
commit
4d989b2d74
|
@ -2,11 +2,12 @@
|
||||||
import { Button, Modal } from "@budibase/bbui"
|
import { Button, Modal } from "@budibase/bbui"
|
||||||
import ImportQueriesModal from "./RestImportQueriesModal.svelte"
|
import ImportQueriesModal from "./RestImportQueriesModal.svelte"
|
||||||
|
|
||||||
|
export let datasourceId
|
||||||
let importQueriesModal
|
let importQueriesModal
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<Modal bind:this={importQueriesModal}>
|
<Modal bind:this={importQueriesModal}>
|
||||||
<ImportQueriesModal createDatasource={false} datasourceId={"todo"} />
|
<ImportQueriesModal createDatasource={false} {datasourceId} />
|
||||||
</Modal>
|
</Modal>
|
||||||
|
|
||||||
<div class="button">
|
<div class="button">
|
||||||
|
|
Loading…
Reference in New Issue