From cb9f0cbab048f500fc1d58f2f314393ec17799e6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Juraj=20Nyi=CC=81ri?= Date: Mon, 12 Jul 2021 17:14:27 +0200 Subject: [PATCH] no message --- dist/plex-meets-homeassistant.js | 2 +- src/editor.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/dist/plex-meets-homeassistant.js b/dist/plex-meets-homeassistant.js index ca55557..c9cf90b 100644 --- a/dist/plex-meets-homeassistant.js +++ b/dist/plex-meets-homeassistant.js @@ -19845,13 +19845,13 @@ class PlexMeetsHomeAssistantEditor extends HTMLElement { this.libraryName.disabled = false; this.libraryName.value = this.config.libraryName; let libraryType = ''; + // eslint-disable-next-line consistent-return lodash.forEach(this.sections, section => { if (lodash.isEqual(section.title, this.libraryName.value)) { libraryType = section.type; return false; } }); - console.log(libraryType); if (lodash.isEqual(libraryType, 'show')) { sortItems.appendChild(addDropdownItem('titleSort')); sortItems.appendChild(addDropdownItem('title')); diff --git a/src/editor.ts b/src/editor.ts index c0952ed..24b5035 100644 --- a/src/editor.ts +++ b/src/editor.ts @@ -460,13 +460,13 @@ class PlexMeetsHomeAssistantEditor extends HTMLElement { this.libraryName.value = this.config.libraryName; let libraryType = ''; + // eslint-disable-next-line consistent-return _.forEach(this.sections, section => { if (_.isEqual(section.title, this.libraryName.value)) { libraryType = section.type; return false; } }); - console.log(libraryType); if (_.isEqual(libraryType, 'show')) { sortItems.appendChild(addDropdownItem('titleSort')); sortItems.appendChild(addDropdownItem('title'));