Skip to content

Commit

Permalink
fix: add trace sort
Browse files Browse the repository at this point in the history
  • Loading branch information
Qinyouzeng committed Apr 26, 2024
1 parent 61e0b97 commit 580e5dd
Showing 1 changed file with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
ServerItemsLength="_total"
ItemsPerPage="_pageSize"
Items="_data"
MustSort
TItem="TraceResponseDto"
Loading="@Loading"
Style="@(PageMode ? "" : "height:calc(100% - 475px);width:100%")"
Expand Down Expand Up @@ -34,7 +35,7 @@
}
else if (context.Header.Value == nameof(TraceResponseDto.Duration))
{
@FormatDuration((context.Item.EndTimestamp-context.Item.Timestamp).TotalMilliseconds)
@FormatDuration((context.Item.EndTimestamp - context.Item.Timestamp).TotalMilliseconds)
}
else
{
Expand All @@ -47,4 +48,4 @@
<MCard Rounded=true Class="px-6 py-2" Style="border-top-left-radius: 0 !important; border-top-right-radius: 0 !important;">
<SPagination Class="mt-2" @bind-Page="_page" @bind-PageSize=_pageSize Total=_total OnChange="HandleOnPaginationUpdate" />
</MCard>
<TscTraceDetail @ref="_tscTraceDetail"/>
<TscTraceDetail @ref="_tscTraceDetail" />

0 comments on commit 580e5dd

Please sign in to comment.