@if (!result) { } @if (result) {
{{ t('Auto Map') }} {{ t('overview') }}
{{ t('Filter') }}
{{ t('Service status') }}
@if (!showLabel && !groupByHost) { @for (host of result.services; track $index) { @for (service of host.servicestatus; track $index) { } } } @if (!showLabel && groupByHost) { @for (host of result.services; track host; let i = $index) {

{{ host.display_name }}

@for (service of host.servicestatus; track $index) { }
}
} @if (showLabel && !groupByHost) { @for (host of result.services; track $index) { {{ host.display_name }} @for (service of host.servicestatus; track $index) { {{ host.display_name }}/{{ service.ServiceMapping.display_name }} } } } @if (showLabel && groupByHost) { @for (host of result.services; track host; let i = $index) {

{{ host.display_name }}

@for (service of host.servicestatus; track $index) { {{ service.ServiceMapping.display_name }} }
}
} @if (result && result.services.length === 0) { }
 
}