1
0
Fork 0
mirror of synced 2024-08-23 05:51:29 +12:00

Merge pull request #13736 from Budibase/fix/single-user-support-automations

Added support for single user column type in automation block
This commit is contained in:
deanhannigan 2024-05-24 11:27:39 +01:00 committed by GitHub
commit 6c8b4bf8f1
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
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}