Hide metadata labels when there are no values

This commit is contained in:
Antoine Snyers
2018-10-09 12:40:12 +02:00
parent 9c444764a1
commit bbe22d9636
2 changed files with 7 additions and 4 deletions

View File

@@ -1,4 +1,5 @@
import { Component, Input } from '@angular/core';
import { Metadatum } from '../../../core/shared/metadatum.model';
/**
* This component renders the configured 'values' into the ds-metadata-field-wrapper component.
@@ -11,7 +12,7 @@ import { Component, Input } from '@angular/core';
})
export class MetadataValuesComponent {
@Input() values: any;
@Input() values: Metadatum[];
@Input() separator: string;