mirror of
https://github.com/frappe/books.git
synced 2024-11-09 23:30:56 +00:00
fix: set target and references in custom fields
This commit is contained in:
parent
3579b23080
commit
29a2aced94
@ -336,11 +336,11 @@ function getFieldMapFromRawCustomFields(
|
||||
}
|
||||
|
||||
if (typeof target === 'string') {
|
||||
(field as TargetField).target === 'target';
|
||||
(field as TargetField).target = target;
|
||||
}
|
||||
|
||||
if (typeof references === 'string') {
|
||||
(field as DynamicLinkField).references === 'references';
|
||||
(field as DynamicLinkField).references = references;
|
||||
}
|
||||
|
||||
map[parent].push(field);
|
||||
|
Loading…
Reference in New Issue
Block a user