Fix tests

This commit is contained in:
Yury Bondarenko
2024-03-06 11:04:09 +01:00
parent 3b48d9a26d
commit ebbbd64bae
6 changed files with 8 additions and 2 deletions

View File

@@ -65,6 +65,7 @@ export class MetadataValuesComponent implements OnChanges {
*/
renderMarkdown;
@Input() browseDefinition?: BrowseDefinition;
/**
@@ -72,6 +73,8 @@ export class MetadataValuesComponent implements OnChanges {
*/
@Input() img?: ImageField;
hasValue = hasValue;
ngOnChanges(changes: SimpleChanges): void {
this.renderMarkdown = !!this.appConfig.markdown.enabled && this.enableMarkdown;
}