fix(webui): link audit task targets to the task detail
This commit is contained in:
commit
0245c4e455
1 file changed
+1
-1
@@ -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)
|
||||
|
||||
Reference in new issue
Block a user