Fix test
This commit is contained in:
parent
ad02581e1d
commit
59bdae57cc
|
@ -3399,7 +3399,7 @@ if (descriptions.length) {
|
||||||
type: FieldType.LINK,
|
type: FieldType.LINK,
|
||||||
relationshipType: RelationshipType.MANY_TO_ONE,
|
relationshipType: RelationshipType.MANY_TO_ONE,
|
||||||
tableId: toRelateTableId,
|
tableId: toRelateTableId,
|
||||||
fieldName: "link",
|
fieldName: "main",
|
||||||
},
|
},
|
||||||
})
|
})
|
||||||
|
|
||||||
|
@ -3408,7 +3408,7 @@ if (descriptions.length) {
|
||||||
)
|
)
|
||||||
await config.api.table.save({
|
await config.api.table.save({
|
||||||
...toRelateTable,
|
...toRelateTable,
|
||||||
primaryDisplay: "link",
|
primaryDisplay: "name",
|
||||||
})
|
})
|
||||||
const relatedRows = await Promise.all([
|
const relatedRows = await Promise.all([
|
||||||
config.api.row.save(toRelateTable._id!, {
|
config.api.row.save(toRelateTable._id!, {
|
||||||
|
|
Loading…
Reference in New Issue