mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
Fix sonarjs prefer-single-boolean-return
This commit is contained in:
parent
bb86ab7f27
commit
b426b6e2bf
18 changed files with 52 additions and 187 deletions
|
@ -23,11 +23,7 @@ import 'webcomponents.js/webcomponents-lite';
|
|||
return true;
|
||||
}
|
||||
|
||||
if (layoutManager.tv) {
|
||||
return false;
|
||||
}
|
||||
|
||||
return true;
|
||||
return !layoutManager.tv;
|
||||
}
|
||||
|
||||
function triggerChange(select) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue