mirror of
https://github.com/henrygd/beszel.git
synced 2026-05-13 22:01:50 +02:00
change alert link to use system ID instead of name
This commit is contained in:
@@ -298,7 +298,7 @@ func (am *AlertManager) sendSystemAlert(alert SystemAlertData) {
|
||||
UserID: alert.alertRecord.GetString("user"),
|
||||
Title: subject,
|
||||
Message: body,
|
||||
Link: am.hub.MakeLink("system", systemName),
|
||||
Link: am.hub.MakeLink("system", alert.systemRecord.Id),
|
||||
LinkText: "View " + systemName,
|
||||
})
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user