Backport pull request #7387 from jellyfin-web/release-10.11.z

Fix card actions in experimental layout

Original-merge: 9f1370f242

Merged-by: thornbill <thornbill@users.noreply.github.com>

Backported-by: thornbill <thornbill@users.noreply.github.com>
This commit is contained in:
thornbill
2025-12-03 16:21:39 -05:00
parent cd8f3c4831
commit 7e663d57f1
3 changed files with 3 additions and 1 deletions

View File

@@ -390,7 +390,7 @@ export function onClick(e) {
}
}
if (action) {
if (action && action !== 'none') {
executeAction(card, actionElement, action);
e.preventDefault();

View File

@@ -69,6 +69,7 @@ const PlayedButton: FC<PlayedButtonProps> = ({
);
return (
<IconButton
data-action='none'
title={getTitle()}
className={btnClass}
size='small'

View File

@@ -56,6 +56,7 @@ const FavoriteButton: FC<FavoriteButtonProps> = ({
return (
<IconButton
data-action='none'
title={isFavorite ? globalize.translate('Favorite') : globalize.translate('AddToFavorites')}
className={btnClass}
size='small'