fix(webui): link audit task targets to the task detail

This commit is contained in:
sam committed 2026-10-25 22:09:31 +11:00
commit 0245c4e455
1 file changed
+1 -1
+1 -1
View File
@@ -507,7 +507,7 @@ func auditTarget(entry audit.Entry, labels *auditLabels) auditTargetView {
case "task":
if entry.TargetID != "" {
view.Label = "#" + entry.TargetID
view.Href = "/tasks?id=" + url.QueryEscape(entry.TargetID)
view.Href = "/tasks/" + url.PathEscape(entry.TargetID)
}
case "identity":
view.Label = labels.actorName(entry.TargetID)