diff --git a/internal/dis/component/control/home/home.html b/internal/dis/component/control/home/home.html index 7202932..99519a8 100644 --- a/internal/dis/component/control/home/home.html +++ b/internal/dis/component/control/home/home.html @@ -20,7 +20,7 @@ {{range .Instances}} - {{ if .Running }} + {{ if and .Running (not .NoPrefixes) }}

{{.Slug}}

diff --git a/internal/status/wisski.go b/internal/status/wisski.go index c494cd3..7974a18 100644 --- a/internal/status/wisski.go +++ b/internal/status/wisski.go @@ -87,6 +87,10 @@ type LastEdit struct { func (bs BundleStatistics) LastEdit() (le LastEdit) { for _, bundle := range bs.Bundles { time := bundle.LastEdit.Time() + // skip invalid times + if time.Unix() <= 0 { + continue + } if time.After(le.Time) { le.Valid = true le.Time = time