mirror of
https://github.com/estruyf/vscode-front-matter.git
synced 2026-07-07 02:11:25 +02:00
Added customType for custom fields
This commit is contained in:
@@ -508,8 +508,8 @@ export const WrapperField: React.FunctionComponent<IWrapperFieldProps> = ({
|
||||
/>
|
||||
</FieldBoundary>
|
||||
);
|
||||
} else if (customFields.find(f => f.name === field.type)) {
|
||||
const fieldData = customFields.find(f => f.name === field.type);
|
||||
} else if (field.type === 'customField') {
|
||||
const fieldData = customFields.find(f => f.name === field.customType);
|
||||
if (fieldData) {
|
||||
return (
|
||||
<CustomField
|
||||
|
||||
Reference in New Issue
Block a user