@if (descriptor; as descriptor) {
Bias annotations
{{ annotations.length }}{{ descriptor.maxItems !== null ? ' / ' + descriptor.maxItems : '' }}
@if (!readonly) { }
@if (listError(); as error) {
{{ error }}
} @if (!annotations.length) {
No bias annotations.
} @else {
@for (annotation of annotations; track annotation.id ?? $index; let index = $index) {
{{ optionLabel('category', annotation.category) }} {{ optionLabel('severity', annotation.severity) }} {{ optionLabel('status', annotation.status) }}
{{ annotation.issue }}
@if (serverError(index); as error) {
{{ error }}
} @for (field of fields; track field.key) { @if (serverError(index, field.key); as error) {
{{ field.label }}: {{ error }}
} } @if (!readonly) {
}
}
}
@if (editorOpen) {

{{ editingIndex === null ? 'Add' : 'Edit' }} bias annotation

@for (field of fields; track field.key) { }
} }