@page "/" @inherits DashboardPageBase MXAccess Gateway Dashboard @if (Snapshot is null) {
Loading dashboard snapshot.
} else {

Overview

Generated @DashboardDisplay.DateTime(Snapshot.GeneratedAt)

Galaxy Repository

View browse details →
@if (!string.IsNullOrWhiteSpace(Snapshot.Galaxy.LastError)) {
@Snapshot.Galaxy.LastError
}

Recent Faults

} @code { private string? GalaxyRefreshDetail() { DashboardGalaxySummary galaxy = Snapshot!.Galaxy; if (galaxy.LastQueriedAt is null) { return "never queried"; } if (galaxy.LastSuccessAt is null) { return "no successful refresh yet"; } return galaxy.LastQueriedAt > galaxy.LastSuccessAt ? $"last attempt {DashboardDisplay.DateTime(galaxy.LastQueriedAt)}" : null; } }