Skip to content

Commit

Permalink
Fix navigation form relevant patches to advisory details (#2787)
Browse files Browse the repository at this point in the history
This commit fixes the navigation between the pages mentioned above.
Previously it would append the path to the end of the current path.
  • Loading branch information
janvhs authored Jul 16, 2024
1 parent c6815d8 commit 11433d4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion assets/js/pages/HostRelevantPatches/Page.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ export default function Page() {
patches={patches}
hostName={hostName}
onNavigate={(advisoryID) =>
navigate(`hosts/${hostID}/patches/${advisoryID}`)
navigate(`/hosts/${hostID}/patches/${advisoryID}`)
}
/>
</>
Expand Down

0 comments on commit 11433d4

Please sign in to comment.