1
0
Fork 0
mirror of https://github.com/jellyfin/jellyfin-web synced 2025-03-30 19:56:21 +00:00

Fix eslint issues

This commit is contained in:
Bill Thornton 2023-03-29 00:38:22 -04:00
parent ed21a8dcdd
commit 6f3aa2f1df
85 changed files with 251 additions and 251 deletions

View file

@ -211,7 +211,7 @@ import template from './metadataEditor.template.html';
}
function addElementToList(source, sortCallback) {
import('../prompt/prompt').then(({default: prompt}) => {
import('../prompt/prompt').then(({ default: prompt }) => {
prompt({
label: 'Value:'
}).then(function (text) {
@ -229,7 +229,7 @@ import template from './metadataEditor.template.html';
}
function editPerson(context, person, index) {
import('./personEditor').then(({default: personEditor}) => {
import('./personEditor').then(({ default: personEditor }) => {
personEditor.show(person).then(function (updatedPerson) {
const isNew = index === -1;
@ -253,7 +253,7 @@ import template from './metadataEditor.template.html';
}
function showMoreMenu(context, button, user) {
import('../itemContextMenu').then(({default: itemContextMenu}) => {
import('../itemContextMenu').then(({ default: itemContextMenu }) => {
const item = currentItem;
itemContextMenu.show({
@ -588,12 +588,12 @@ import template from './metadataEditor.template.html';
hideElement('#collapsibleSpecialEpisodeInfo', context);
}
if (item.Type === 'Person' ||
item.Type === 'Genre' ||
item.Type === 'Studio' ||
item.Type === 'MusicGenre' ||
item.Type === 'TvChannel' ||
item.Type === 'Book') {
if (item.Type === 'Person'
|| item.Type === 'Genre'
|| item.Type === 'Studio'
|| item.Type === 'MusicGenre'
|| item.Type === 'TvChannel'
|| item.Type === 'Book') {
hideElement('#peopleCollapsible', context);
} else {
showElement('#peopleCollapsible', context);