src.app.modules.dataset.components.dataset-list.dataset-list.component.html Maven / Gradle / Ivy
The newest version!
Name
Tags
Description
LastUpdated
@for (dataset of (datasets | dataSetSearch : selectedTags | searchTextPipe : dataSetFilter : ['name', 'description']); track dataset.id) {
{{dataset.name}}
@if (dataset.tags.length <= 3) {
@for (tag of dataset.tags; track $index) {
{{tag}}
}
}
@if (dataset.tags.length > 3) {
@for (tag of dataset.tags | slice:0:2; track $index) {
{{tag}}
}
}
{{dataset.description}}
{{dataset.lastUpdated | amDateFormat: 'YYYY-MM-DD HH:mm'}}
}
@if (preview) {
{{preview.name}}
@for (uniqueValue of preview.uniqueValues; track $index) {
{{uniqueValue.key}}: {{uniqueValue.value}}
}
@for (header of preview.getMultipleValueHeader(); track $index) {
{{ header }}
}
@for (multipleValue of preview.multipleValues; track $index) {
@for (value of multipleValue; track $index) {
{{ value.value }}
}
}
}