@inherits ComponentBase

@using Vaitr.Scheduler;

<BaseContainer Title="@Title" Breadcrumbs="@Breadcrumbs" LoadData="LoadDataAsync">
    <Content>
        @if (Trigger is not null)
        {
            <MudGrid>
                <MudItem xs="12" sm="6" md="6" lg="3">
                    <KeyValueCard T="string" Key="Name" Value="@Trigger.Name" />
                </MudItem>
                @* <MudItem xs="12" sm="6" md="6" lg="3">
                    <KeyValueCard T="int" Href="@Navigation.Management.Jobs.HostsHref(JobId)" Key="Hosts" Value="@(Job?.Hosts?.Count() ?? 0)" Icon="@Icons.Material.Outlined.Devices" IconColor="Color.Primary" />
                </MudItem> *@
            </MudGrid>
        }
    </Content>
</BaseContainer>