Skip to content

Commit

Permalink
Display Container ID (#544)
Browse files Browse the repository at this point in the history
  • Loading branch information
tlmii authored and eerhardt committed Oct 27, 2023
1 parent be2cb34 commit 80a947f
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/Aspire.Dashboard/Components/Pages/Containers.razor
Original file line number Diff line number Diff line change
Expand Up @@ -17,11 +17,14 @@
slot="end" />
</FluentToolbar>
<div class="datagrid-overflow-area" tabindex="-1">
<FluentDataGrid Items="@FilteredResources" ResizableColumns="true" GridTemplateColumns="2fr 1fr 2fr 3fr 1fr 2fr 1fr 1fr">
<FluentDataGrid Items="@FilteredResources" ResizableColumns="true" GridTemplateColumns="2fr 2fr 2fr 2fr 2fr 1fr 2fr 1fr 1fr">
<ChildContent>
<TemplateColumn Title="Name" Sortable="true" SortBy="@nameSort" Tooltip="true" TooltipText="(c) => c.Name">
<FluentHighlighter HighlightedText="@filter" Text="@context.Name" />
</TemplateColumn>
<TemplateColumn Title="Container ID">
<GridValue HighlightText="@filter" Value="@context.ContainerId" />
</TemplateColumn>
<PropertyColumn Property="@(e => e.State)" Sortable="true" Tooltip="true" />
<PropertyColumn Property="@(c => c.CreationTimeStamp)" Title="Start Time" Sortable="true" Tooltip="true" />
<TemplateColumn Title="Container Image" Sortable="true" SortBy="@imageSort" Tooltip="true" TooltipText="(c) => c.Image">
Expand Down

0 comments on commit 80a947f

Please sign in to comment.