mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
apply suggestion
This commit is contained in:
parent
62a9034f5b
commit
72cbd37182
5 changed files with 41 additions and 23 deletions
|
@ -43,11 +43,12 @@ const LinkButton: React.FC<LinkButtonProps> = ({
|
|||
if (isAutoHideEnabled === true && !appHost.supports('externallinks')) {
|
||||
return null;
|
||||
}
|
||||
let cssClass = classNames('emby-button', className);
|
||||
|
||||
if (layoutManager.tv) {
|
||||
cssClass += ' show-focus';
|
||||
}
|
||||
const cssClass = classNames(
|
||||
'emby-button',
|
||||
className,
|
||||
{ 'show-focus': layoutManager.tv }
|
||||
);
|
||||
|
||||
return (
|
||||
<a
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue