ui-ngx/src/app/modules/home/components/iot-hub/iot-hub-search.component.html
{{ 'iot-hub.results-count' | translate:{ count: totalElements } }}
@if (searchText) { close } @else { search } {{ sortOptions[selectedSortIndex].label | translate }} arrow_drop_downfilter_list @for (option of sortOptions; track option.value; let i = $index) { {{ option.label | translate }} }
{{ 'iot-hub.results-count' | translate:{ count: totalElements } }} @if (totalElements > 0) {
chevron_left @for (p of getPageNumbers(); track p) { {{ p + 1 }} } = totalPages - 1" (click)="goToPage(pageIndex + 1)"> chevron_right
{{ 'iot-hub.items-per-page' | translate }}: @for (size of pageSizeOptions; track size) { {{ size }} }
}
@if (hasError) {
{{ 'iot-hub.network-server-unavailable-text' | translate }}
{{ 'iot-hub.try-again' | translate }} } @if (!hasError && totalElements === 0 && searchText?.trim()) {
{{ 'iot-hub.try-adjusting-search' | translate }}
} @if (resultGroups.length > 0) { @for (group of resultGroups; track group.type) { {{ getTypeLabel(group.type) }} chevron_right @for (item of group.items; track item.id) { }
} } @if (isLoading) {
}