refactor(tracker): clear RailError alert with ClearNamed

This commit is contained in:
2025-11-02 16:51:26 +02:00
parent dafd45fd81
commit 16c652b2ba
+1 -1
View File
@@ -309,7 +309,7 @@ func (m *Model) updateRails() {
Duration: time.Second * 10,
})
} else { // clear the alert if it was set
m.Alerts().AddAlert(Alert{Name: "RailError"})
m.Alerts().ClearNamed("RailError")
}
}