1
0
Fork 0
mirror of synced 2024-07-15 11:15:59 +12:00
This commit is contained in:
Mel O'Hagan 2023-01-19 22:54:46 +00:00
parent 8a4c0c6acd
commit 738e0f28d7

View file

@ -320,7 +320,7 @@
options={relationshipTypes} options={relationshipTypes}
bind:value={relationshipType} bind:value={relationshipType}
bind:error={errors.relationshipType} bind:error={errors.relationshipType}
on:change={e => (errors.relationshipType = null)} on:change={() => (errors.relationshipType = null)}
/> />
<div class="headings"> <div class="headings">
<Detail>Tables</Detail> <Detail>Tables</Detail>
@ -342,7 +342,7 @@
options={Object.keys(fromTable.schema)} options={Object.keys(fromTable.schema)}
bind:value={fromPrimary} bind:value={fromPrimary}
bind:error={errors.fromPrimary} bind:error={errors.fromPrimary}
on:change={e => (errors.fromPrimary = null)} on:change={() => (errors.fromPrimary = null)}
/> />
{/if} {/if}
<Select <Select
@ -369,14 +369,14 @@
options={Object.keys(throughTable?.schema)} options={Object.keys(throughTable?.schema)}
bind:value={throughToKey} bind:value={throughToKey}
bind:error={errors.throughToKey} bind:error={errors.throughToKey}
on:change={e => (errors.throughToKey = null)} on:change={() => (errors.throughToKey = null)}
/> />
<Select <Select
label={`Foreign Key (${toTable?.name})`} label={`Foreign Key (${toTable?.name})`}
options={Object.keys(throughTable?.schema)} options={Object.keys(throughTable?.schema)}
bind:value={throughFromKey} bind:value={throughFromKey}
bind:error={errors.throughFromKey} bind:error={errors.throughFromKey}
on:change={e => (errors.throughFromKey = null)} on:change={() => (errors.throughFromKey = null)}
/> />
{/if} {/if}
{:else if isManyToOne && toTable} {:else if isManyToOne && toTable}
@ -385,7 +385,7 @@
options={Object.keys(toTable?.schema)} options={Object.keys(toTable?.schema)}
bind:value={fromForeign} bind:value={fromForeign}
bind:error={errors.fromForeign} bind:error={errors.fromForeign}
on:change={e => (errors.fromForeign = null)} on:change={() => (errors.fromForeign = null)}
/> />
{/if} {/if}
<div class="headings"> <div class="headings">