enable flags for tags/categories in the metadata card (#8783)

This commit is contained in:
Denys Vuika
2023-07-25 14:05:28 +01:00
committed by GitHub
parent f8f72d7f1a
commit 80a6dadbfa
2 changed files with 10 additions and 2 deletions

View File

@@ -9,8 +9,8 @@
[multi]="multi" [multi]="multi"
[displayAspect]="displayAspect" [displayAspect]="displayAspect"
[preset]="preset" [preset]="preset"
[displayTags]="true" [displayTags]="displayTags"
[displayCategories]="true"> [displayCategories]="displayCategories">
</adf-content-metadata> </adf-content-metadata>
</mat-card-content> </mat-card-content>
<mat-card-footer class="adf-content-metadata-card-footer"> <mat-card-footer class="adf-content-metadata-card-footer">

View File

@@ -48,6 +48,14 @@ export class ContentMetadataCardComponent implements OnChanges {
@Input() @Input()
displayAspect: string = null; displayAspect: string = null;
/** Display tags in the card **/
@Input()
displayTags = true;
/** Display categories in the card **/
@Input()
displayCategories = true;
/** (required) Name or configuration of the metadata preset, which defines aspects /** (required) Name or configuration of the metadata preset, which defines aspects
* and their properties. * and their properties.
*/ */