mirror of
https://github.com/vsariola/sointu.git
synced 2025-11-11 12:24:55 -05:00
refactor(tracker): clear RailError alert with ClearNamed
This commit is contained in:
parent
dafd45fd81
commit
16c652b2ba
@ -309,7 +309,7 @@ func (m *Model) updateRails() {
|
|||||||
Duration: time.Second * 10,
|
Duration: time.Second * 10,
|
||||||
})
|
})
|
||||||
} else { // clear the alert if it was set
|
} else { // clear the alert if it was set
|
||||||
m.Alerts().AddAlert(Alert{Name: "RailError"})
|
m.Alerts().ClearNamed("RailError")
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user