change alert link to use system ID instead of name

This commit is contained in:
henrygd
2025-11-10 17:31:11 -05:00
parent 01d20562f0
commit 02abfbcb54
2 changed files with 4 additions and 9 deletions

View File

@@ -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,
})
}