Skip to content

Commit

Permalink
Fix
Browse files Browse the repository at this point in the history
  • Loading branch information
JamesNK committed Aug 27, 2024
1 parent 88dd8d9 commit 7a1a574
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Aspire.Dashboard/Components/Controls/LogViewer.razor
Original file line number Diff line number Diff line change
Expand Up @@ -20,14 +20,14 @@
@if (context.Timestamp is { } timestamp)
{
hasPrefix = true;
<span class="timestamp" title="@FormatHelpers.FormatDateTime(TimeProvider, context.Timestamp.Value.UtcDateTime, MillisecondsDisplay.Full, CultureInfo.CurrentCulture)">@GetDisplayTimestamp(timestamp)</span>
<span class="timestamp" title="@FormatHelpers.FormatDateTime(TimeProvider, timestamp, MillisecondsDisplay.Full, CultureInfo.CurrentCulture)">@GetDisplayTimestamp(timestamp)</span>
}
@if (context.Type == LogEntryType.Error)
{
hasPrefix = true;
<fluent-badge appearance="accent">stderr</fluent-badge>
}
@((MarkupString)((hasPrefix ? "&nbsp;" : string.Empty) + (context.Content ?? string.Empty)))
@((MarkupString)((hasPrefix ? "&#32;" : string.Empty) + (context.Content ?? string.Empty)))
</span>
</span>
</div>
Expand Down

0 comments on commit 7a1a574

Please sign in to comment.