@if (task?.parameters?.on === TaskApplyTo.FULL_FIELD) {
@for (field of fieldsWithLabels | async; track field.key; let count = $count) {
@if (count > 1) {
{{ field.title }}
}
@for (label of field.labels; track label.labelset + label.label) {
{{ label.label }}
}
} @empty {
{{ 'tasks-automation.testing.results.no-labels' | translate }}
}
} @else if (task?.parameters?.on === TaskApplyTo.TEXT_BLOCKS) {
@for (paragraph of paragraphsWithLabels | async; track paragraph.paragraphId) {
@for (label of paragraph.classifications; track label.labelset + label.label) {
{{ label.label }}
}
} @empty {
{{ 'tasks-automation.testing.results.no-labels' | translate }}
}
}