Skip to content

Commit

Permalink
fix(ui): Solve issue with navigating with dropdown from an applicatio…
Browse files Browse the repository at this point in the history
…n's page (cherry-pick #21737) (#21747)

Signed-off-by: Amit Oren <[email protected]>
Co-authored-by: Amit Oren <[email protected]>
  • Loading branch information
gcp-cherry-pick-bot[bot] and amit-o authored Feb 3, 2025
1 parent 102853d commit 49771c1
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ export const ApplicationsDetailsAppDropdown = (props: {appName: string}) => {
})
.slice(0, 100) // take top 100 results after filtering to avoid performance issues
.map(app => (
<li key={app.metadata.name} onClick={() => ctx.navigation.goto(getAppUrl(app))}>
<li key={app.metadata.name} onClick={() => ctx.navigation.goto(`/${getAppUrl(app)}`)}>
{app.metadata.name} {app.metadata.name === props.appName && ' (current)'}
</li>
))
Expand Down

0 comments on commit 49771c1

Please sign in to comment.