mirror of
https://github.com/henrygd/beszel.git
synced 2025-12-17 02:36:17 +01: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