mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
Enable eslint sonar prefer-object-literal
This commit is contained in:
parent
9d8f9c806c
commit
e0013915fd
6 changed files with 26 additions and 31 deletions
|
@ -26,11 +26,7 @@ import template from './imageeditor.template.html';
|
|||
let hasChanges = false;
|
||||
|
||||
function getBaseRemoteOptions() {
|
||||
const options = {};
|
||||
|
||||
options.itemId = currentItem.Id;
|
||||
|
||||
return options;
|
||||
return { itemId: currentItem.Id };
|
||||
}
|
||||
|
||||
function reload(page, item, focusContext) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue