PR feedback. Ensure fieldValue reacts to schema changes
This commit is contained in:
parent
bd2664218c
commit
1d8235a1cc
|
@ -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)
|
||||||
|
|
Loading…
Reference in New Issue