mirror of
https://github.com/frappe/books.git
synced 2024-09-20 03:29:00 +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') {
|
if (typeof target === 'string') {
|
||||||
(field as TargetField).target === 'target';
|
(field as TargetField).target = target;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (typeof references === 'string') {
|
if (typeof references === 'string') {
|
||||||
(field as DynamicLinkField).references === 'references';
|
(field as DynamicLinkField).references = references;
|
||||||
}
|
}
|
||||||
|
|
||||||
map[parent].push(field);
|
map[parent].push(field);
|
||||||
|
Loading…
Reference in New Issue
Block a user