From 72b68046e50f7d11b7aa8069bdd79646cef95d7c Mon Sep 17 00:00:00 2001 From: Pablo Santiago Date: Sun, 20 Oct 2024 14:50:44 +0200 Subject: [PATCH] Add link to the latest task where a finding was found by a given tool --- .../components/finding/tool-counter.vue | 23 ++++++++++++++++++- 1 file changed, 22 insertions(+), 1 deletion(-) diff --git a/src/frontend/components/finding/tool-counter.vue b/src/frontend/components/finding/tool-counter.vue index 305a773a..df5c0aa8 100644 --- a/src/frontend/components/finding/tool-counter.vue +++ b/src/frontend/components/finding/tool-counter.vue @@ -9,28 +9,49 @@ :color="!counters[tool].icon ? 'red' : undefined" :variant="!counters[tool].icon ? 'tonal' : undefined" :tooltip="`${tool} detections`" + :link=" + counters[tool].lastTask + ? `/projects/${route.params.project_id}/scans/${counters[tool].lastTask}` + : undefined + " new-tab /> -