From b3913d7bb3237540742c8ea8e1cb8214af2edffc Mon Sep 17 00:00:00 2001 From: Bill Thornton Date: Wed, 3 Dec 2025 12:18:21 -0500 Subject: [PATCH] Fix card actions in experimental layout --- src/components/shortcuts.js | 2 +- src/elements/emby-playstatebutton/PlayedButton.tsx | 1 + src/elements/emby-ratingbutton/FavoriteButton.tsx | 1 + 3 files changed, 3 insertions(+), 1 deletion(-) diff --git a/src/components/shortcuts.js b/src/components/shortcuts.js index a8573b3ab7..73aaf13abf 100644 --- a/src/components/shortcuts.js +++ b/src/components/shortcuts.js @@ -390,7 +390,7 @@ export function onClick(e) { } } - if (action) { + if (action && action !== 'none') { executeAction(card, actionElement, action); e.preventDefault(); diff --git a/src/elements/emby-playstatebutton/PlayedButton.tsx b/src/elements/emby-playstatebutton/PlayedButton.tsx index 5c08a7201d..1c146d396f 100644 --- a/src/elements/emby-playstatebutton/PlayedButton.tsx +++ b/src/elements/emby-playstatebutton/PlayedButton.tsx @@ -69,6 +69,7 @@ const PlayedButton: FC = ({ ); return ( = ({ return (