Linting.
This commit is contained in:
parent
ff99e1dcc6
commit
3cdd658ea0
|
@ -245,7 +245,9 @@
|
||||||
{:else if fromRelationship?.relationshipType && toTable}
|
{:else if fromRelationship?.relationshipType && toTable}
|
||||||
<Select
|
<Select
|
||||||
label={`Foreign Key (${toTable?.name})`}
|
label={`Foreign Key (${toTable?.name})`}
|
||||||
options={Object.keys(toTable?.schema).filter(field => toTable?.primary.indexOf(field) === -1)}
|
options={Object.keys(toTable?.schema).filter(
|
||||||
|
field => toTable?.primary.indexOf(field) === -1
|
||||||
|
)}
|
||||||
on:change={() => ($touched.foreign = true)}
|
on:change={() => ($touched.foreign = true)}
|
||||||
bind:error={errors.foreign}
|
bind:error={errors.foreign}
|
||||||
bind:value={fromRelationship.fieldName}
|
bind:value={fromRelationship.fieldName}
|
||||||
|
|
Loading…
Reference in New Issue