Skip to content

Commit

Permalink
fix wrong viewname
Browse files Browse the repository at this point in the history
  • Loading branch information
BenediktMKuehne committed Nov 6, 2024
1 parent 26c56d9 commit 8a05bf7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions embark/tracker/tables.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ class Meta:
orderable = True

def render_id(self, value):
return format_html(f"<a href=\"{reverse(viewname='embark-tracker-sbom', args=[value])}\">{value}</a>")
return format_html(f"<a href=\"{reverse(viewname='embark-tracker-device', args=[value])}\">{value}</a>")


class SimpleSBOMTable(tables.Table):
Expand All @@ -28,4 +28,4 @@ class Meta:
orderable = True

# def render_id(self, value):
# return format_html(f"<a href=\"{reverse(viewname='embark-tracker-device', args=[value])}\">{value}</a>")
# return format_html(f"<a href=\"{reverse(viewname='embark-tracker-sbom', args=[value])}\">{value}</a>")

0 comments on commit 8a05bf7

Please sign in to comment.