Skip to content

Commit

Permalink
hide detail link when already on the detail page
Browse files Browse the repository at this point in the history
  • Loading branch information
engine committed Nov 21, 2024
1 parent 3ef0a59 commit 2616432
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/itemContextMenu.js
Original file line number Diff line number Diff line change
Expand Up @@ -294,7 +294,7 @@ export async function getCommands(options) {
});
}

if (canPlay) {
if (canPlay && document.location.hash !== appRouter.getRouteUrl(item, options)) {
commands.push({
name: globalize.translate('ShowDetails'),
id: 'itemdetails',
Expand Down

0 comments on commit 2616432

Please sign in to comment.