Browse Source

Changing budibase -> internal/csv in datasource menu.

pull/4023/head
mike12345567 5 years ago
parent
commit
39e91ceb82
  1. 6
      packages/builder/src/components/backend/DatasourceNavigator/TableIntegrationMenu/index.svelte

6
packages/builder/src/components/backend/DatasourceNavigator/TableIntegrationMenu/index.svelte

@ -13,7 +13,7 @@
const json = await response.json() const json = await response.json()
integrations = { integrations = {
[INTERNAL]: { datasource: {} }, [INTERNAL]: { datasource: {}, name: "INTERNAL/CSV" },
...json, ...json,
} }
return json return json
@ -42,7 +42,7 @@
<section> <section>
<div class="integration-list"> <div class="integration-list">
{#each Object.keys(integrations) as integrationType} {#each Object.entries(integrations) as [integrationType, schema]}
<div <div
class="integration hoverable" class="integration hoverable"
class:selected={integration.type === integrationType} class:selected={integration.type === integrationType}
@ -53,7 +53,7 @@
height="50" height="50"
width="50" width="50"
/> />
<Body size="XS">{integrationType}</Body> <Body size="XS">{schema.name || integrationType}</Body>
</div> </div>
{/each} {/each}
</div> </div>

Loading…
Cancel
Save