Feedback updates

This commit is contained in:
Dean 2023-01-29 22:00:20 +00:00
parent 117191e5cb
commit 9786c85bd3
1 changed files with 6 additions and 8 deletions

View File

@ -1,7 +1,7 @@
<script> <script>
import TableDataTable from "components/backend/DataTable/DataTable.svelte" import TableDataTable from "components/backend/DataTable/DataTable.svelte"
import { tables, database } from "stores/backend" import { tables, database } from "stores/backend"
import { InlineAlert } from "@budibase/bbui" import { Banner } from "@budibase/bbui"
const verifyAutocolumns = table => { const verifyAutocolumns = table => {
// Check for duplicates // Check for duplicates
@ -34,13 +34,11 @@
{#if $database?._id && $tables?.selected?.name} {#if $database?._id && $tables?.selected?.name}
{#if duplicates?.length} {#if duplicates?.length}
<div class="alert-wrap"> <div class="alert-wrap">
<InlineAlert <Banner type="warning" showCloseButton={false}>
error {`Schema Invalid - There are duplicate auto column types defined in this schema.
header="Schema Invalid" Please delete the duplicate entries where appropriate: -
message={`There are duplicate auto column types defined in this schema. Please delete the duplicate entries where appropriate: ${invalidColumnText.join(", ")}`}
- ${invalidColumnText.join(", ")} </Banner>
This validation will be enforced at a later date.`}
/>
</div> </div>
{/if} {/if}
<TableDataTable /> <TableDataTable />