Merge pull request #11180 from Budibase/fix/curl-import

Honour the datasource id passed to `RestImportButton`
This commit is contained in:
Rory Powell 2023-07-10 15:23:42 +01:00 committed by GitHub
commit 4d989b2d74
1 changed files with 2 additions and 1 deletions

View File

@ -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">