@if (loading()) {
Lade Themen-Hierarchie...
} @else {
@if (isSearching()) {
Modus: Genau Ähnlich
} @else {
} @if (selectedCount() > 0) {
{{ selectedCount() }} ausgewählt
}
@if (isSearching()) {
@if (searchLoading()) {
Suche Themen...
} @else if (searchResults().length === 0) {
{{ SEARCH_OFF_ICON }}

Keine Themen für „{{ searchQuery() }}“ gefunden.

} @else { @for ( topic of searchResults(); track topic.id || topic.display_name ) {
{{ topic.display_name }} @if (getTopicBreadcrumb(topic)) { {{ getTopicBreadcrumb(topic) }} }
@if (topic.works_count) { {{ topic.works_count | number }} }
} }
} @else {
@for ( domain of hierarchy()?.domains ?? []; track domain.id || domain.name ) {
@if (expandedDomains().has(domain.name)) {
@for (field of domain.fields; track field.id || field.name) {
@if (expandedFields().has(field.name)) {
@for ( subfield of field.subfields; track subfield.id || subfield.name ) {
@if (expandedSubfields().has(subfield.name)) {
@for ( topic of subfield.topics; track topic.id || topic.display_name ) {
{{ topic.display_name }} @if (topic.works_count) { {{ topic.works_count | number }} }
}
}
}
}
}
}
}
} }