Changing budibase -> internal/csv in datasource menu.

This commit is contained in:
mike12345567 2021-07-07 17:46:39 +01:00
parent 5d6e7eee91
commit 524957cb4d
1 changed files with 3 additions and 3 deletions

View File

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