1
0
Fork 0
mirror of synced 2024-09-12 23:43:09 +12:00

Added support for single user column type in automation block

This commit is contained in:
Dean 2024-05-21 14:59:27 +01:00
parent 5247aa6900
commit 789b789c3e
2 changed files with 2 additions and 2 deletions

View file

@ -99,7 +99,7 @@
on:change={e => onChange(e, field)} on:change={e => onChange(e, field)}
useLabel={false} useLabel={false}
/> />
{:else if schema.type === "bb_reference"} {:else if schema.type === "bb_reference" || schema.type === "bb_reference_single"}
<LinkedRowSelector <LinkedRowSelector
linkedRows={value[field]} linkedRows={value[field]}
{schema} {schema}

View file

@ -43,7 +43,7 @@
<b>{linkedTable.name}</b> <b>{linkedTable.name}</b>
table. table.
</Label> </Label>
{:else if schema.relationshipType === "one-to-many"} {:else if schema.relationshipType === "one-to-many" || schema.type === "bb_reference_single"}
<Select <Select
value={linkedIds?.[0]} value={linkedIds?.[0]}
options={rows} options={rows}