mirror of
https://github.com/frappe/books.git
synced 2026-08-24 10:04:45 -05:00
fix: set target and references in custom fields
This commit is contained in:
+2
-2
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user