mirror of
https://github.com/estruyf/vscode-front-matter.git
synced 2026-03-28 17:42:40 +01:00
Show non-empty fields in metadata panel #849
This commit is contained in:
@@ -18,6 +18,7 @@
|
||||
|
||||
- [#842](https://github.com/estruyf/vscode-front-matter/issues/842): Allow to set the `frontMatter.taxonomy.slugTemplate` setting to an empty string
|
||||
- [#845](https://github.com/estruyf/vscode-front-matter/issues/845): Fix empty values for number fields
|
||||
- [#849](https://github.com/estruyf/vscode-front-matter/issues/849): Show fields which are not empty in the metadata panel
|
||||
|
||||
### 🚧 Work in progress
|
||||
|
||||
|
||||
@@ -153,7 +153,9 @@ export const WrapperField: React.FunctionComponent<IWrapperFieldProps> = ({
|
||||
onSendUpdate(field.name, field.default, parentFields);
|
||||
}
|
||||
|
||||
return null;
|
||||
if (field.hidden) {
|
||||
return null;
|
||||
}
|
||||
}
|
||||
|
||||
// Conditional fields
|
||||
|
||||
Reference in New Issue
Block a user