Merge claudedo/ff453a6b9db849cd9b076fc63fe5399a
This commit is contained in:
@@ -45,7 +45,7 @@ public sealed partial class LogVisualizerViewModel : ViewModelBase
|
||||
IEnumerable<WorkerLogEntry> items = WarnErrorOnly
|
||||
? _all.Where(e => e.Level is WorkerLogLevel.Warn or WorkerLogLevel.Error)
|
||||
: _all;
|
||||
foreach (var e in items)
|
||||
foreach (var e in items.Reverse())
|
||||
Rows.Add(new LogVisualizerRow(e.TimestampUtc.ToLocalTime().ToString("HH:mm:ss"), e.Message, e.Level));
|
||||
StatusText = Rows.Count == 0
|
||||
? Loc.T("modals.logVisualizer.empty")
|
||||
|
||||
@@ -36,7 +36,7 @@
|
||||
Command="{Binding RefreshCommand}"/>
|
||||
</Grid>
|
||||
|
||||
<!-- Last 30 min, oldest-first -->
|
||||
<!-- Last 30 min, newest-first -->
|
||||
<Border Classes="terminal" Margin="14,0,14,14">
|
||||
<ScrollViewer VerticalScrollBarVisibility="Visible" AllowAutoHide="False" Padding="10,8">
|
||||
<ItemsControl ItemsSource="{Binding Rows}">
|
||||
|
||||
Reference in New Issue
Block a user