fix(plex): a matched episode and a collection member offer Details in their menu

Their titles open the item's page, a pointer-only door; the card menu is the keyboard's.
This commit is contained in:
2026-10-09 23:46:39 +02:00
parent 92a17aba83
commit 8776586ca3
4 changed files with 32 additions and 3 deletions
+3
View File
@@ -285,10 +285,13 @@ export default function PlexInfo({
qc.invalidateQueries({ queryKey: qk.plexLibrary() });
},
});
// Details wherever the member's title opens its page (not in the overlay): the menu is that door
// for the keyboard.
const colActions = usePlexCardActions(
{
onOpen: (c) => onPlayItem(c.id),
onRestart: (c) => onPlayItem(c.id, true),
onInfo: variant !== "overlay" && onOpenInfo ? (c) => onOpenInfo(c.id) : undefined,
onToggleWatched: toggleColWatched,
},
colMenu.open,