1
0
Fork 0
mirror of synced 2024-07-16 11:45:47 +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)}
useLabel={false}
/>
{:else if schema.type === "bb_reference"}
{:else if schema.type === "bb_reference" || schema.type === "bb_reference_single"}
<LinkedRowSelector
linkedRows={value[field]}
{schema}

View file

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