Use _id if populated
This commit is contained in:
parent
3546dfc0cf
commit
2df32b7b28
|
@ -27,6 +27,7 @@
|
|||
|
||||
const columnId =
|
||||
column.through ||
|
||||
column._id ||
|
||||
(column.main
|
||||
? `${tableId}_${column.fieldName}__${column.tableId}_${column.foreignKey}`
|
||||
: `${column.tableId}_${column.foreignKey}__${tableId}_${column.fieldName}`)
|
||||
|
|
Loading…
Reference in New Issue