PR feedback. Ensure fieldValue reacts to schema changes

This commit is contained in:
Dean 2024-08-08 16:51:33 +01:00
parent bd2664218c
commit 1d8235a1cc
1 changed files with 1 additions and 1 deletions

View File

@ -15,7 +15,7 @@
let rows = [] let rows = []
let linkedIds = [] let linkedIds = []
$: fieldValue = getFieldValue(linkedData) $: fieldValue = getFieldValue(linkedData, schema)
$: label = label || capitalise(schema.name) $: label = label || capitalise(schema.name)
$: linkedTableId = linkedTableId || schema.tableId $: linkedTableId = linkedTableId || schema.tableId
$: linkedTable = $tables.list.find(table => table._id === linkedTableId) $: linkedTable = $tables.list.find(table => table._id === linkedTableId)