Changing budibase -> internal/csv in datasource menu.

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

View File

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