Feedback updates
This commit is contained in:
parent
117191e5cb
commit
9786c85bd3
|
@ -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 />
|
||||||
|
|
Loading…
Reference in New Issue