Fix card actions in experimental layout

This commit is contained in:
Bill Thornton
2025-12-03 12:18:21 -05:00
parent 69d169e45f
commit b3913d7bb3
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'