1
0
Fork 0
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:
Bill Thornton 2022-10-12 14:44:10 -04:00
parent 9d8f9c806c
commit e0013915fd
6 changed files with 26 additions and 31 deletions

View file

@ -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) {