@if (Faults.Count == 0) {
No fault records in this snapshot.
} else if (Compact) {
@foreach (DashboardFaultSummary fault in Faults) {
@fault.Source
@if (fault.Message.Length > 160) {
@DashboardDisplay.Abbreviate(fault.Message)
@fault.Message
} else {

@fault.Message

}
Observed @DashboardDisplay.DateTime(fault.ObservedAt) Session @if (!string.IsNullOrWhiteSpace(fault.SessionId)) { @fault.SessionId } else { @DashboardDisplay.Text(fault.SessionId) } Worker @(fault.WorkerProcessId?.ToString(System.Globalization.CultureInfo.InvariantCulture) ?? "-")
}
} else {
@foreach (DashboardFaultSummary fault in Faults) { }
Observed Source Session Worker State Message
@DashboardDisplay.DateTime(fault.ObservedAt) @fault.Source @if (!string.IsNullOrWhiteSpace(fault.SessionId)) { @fault.SessionId } else { @DashboardDisplay.Text(fault.SessionId) } @(fault.WorkerProcessId?.ToString(System.Globalization.CultureInfo.InvariantCulture) ?? "-") @if (fault.Message.Length > 160) {
@DashboardDisplay.Abbreviate(fault.Message)
@fault.Message
} else { @fault.Message }
} @code { [Parameter] public bool Compact { get; set; } [Parameter] public IReadOnlyList Faults { get; set; } = []; }