@inherits ComponentBase

<TableContainer T="HostInterfaceNameserverEntity"
                @ref="Container"
                @bind-Search="Search"
                Title="@Title"
                Breadcrumbs="@Breadcrumbs"
                Data="LoadDataAsync">
    <Header>
        <MudTh>
                <MudTableSortLabel SortLabel="Address" T="HostInterfaceNameserverEntity">
                    Address
                </MudTableSortLabel>
            </MudTh>
            <MudTh>
                <MudTableSortLabel SortLabel="Interface" T="HostInterfaceNameserverEntity">
                    Interface
                </MudTableSortLabel>
            </MudTh>
    </Header>
    <RowTemplate>
        <MudTd DataLabel="Address">
            @context.Address
        </MudTd>
        <MudTd DataLabel="Interface">
            @if (context.Interfaces is not null && context.Interfaces.Any())
            {
                <MudLink Href="@Navigation.Management.Hosts.Network.Interfaces.DetailsHref(HostId, context.Interface.ToString())" Typo="Typo.inherit" Underline="Underline.None">
                    @context.Interfaces.First().Name
                </MudLink>
            }
        </MudTd>
    </RowTemplate>
</TableContainer>