From b225de83fddeb2f320f93a52a2d841494566d148 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Juraj=20Nyi=CC=81ri?= Date: Mon, 12 Jul 2021 15:28:46 +0200 Subject: [PATCH] no message --- dist/plex-meets-homeassistant.js | 8 ++++---- src/editor.ts | 10 +++++----- 2 files changed, 9 insertions(+), 9 deletions(-) diff --git a/dist/plex-meets-homeassistant.js b/dist/plex-meets-homeassistant.js index a1e46b6..364e12e 100644 --- a/dist/plex-meets-homeassistant.js +++ b/dist/plex-meets-homeassistant.js @@ -19601,15 +19601,15 @@ class PlexMeetsHomeAssistantEditor extends HTMLElement { this.ip.value = this.config.ip; this.ip.addEventListener('change', this.valueUpdated); this.content.appendChild(this.ip); - this.token.label = 'Plex Token'; - this.token.value = this.config.token; - this.token.addEventListener('change', this.valueUpdated); - this.content.appendChild(this.token); this.port.label = 'Plex Port'; this.port.value = this.config.port; this.port.type = 'number'; this.port.addEventListener('change', this.valueUpdated); this.content.appendChild(this.port); + this.token.label = 'Plex Token'; + this.token.value = this.config.token; + this.token.addEventListener('change', this.valueUpdated); + this.content.appendChild(this.token); this.libraryName.innerHTML = ''; const libraryItems = document.createElement('paper-listbox'); libraryItems.appendChild(addDropdownItem('Continue Watching')); diff --git a/src/editor.ts b/src/editor.ts index 6efef83..443a6ec 100644 --- a/src/editor.ts +++ b/src/editor.ts @@ -200,17 +200,17 @@ class PlexMeetsHomeAssistantEditor extends HTMLElement { this.ip.addEventListener('change', this.valueUpdated); this.content.appendChild(this.ip); - this.token.label = 'Plex Token'; - this.token.value = this.config.token; - this.token.addEventListener('change', this.valueUpdated); - this.content.appendChild(this.token); - this.port.label = 'Plex Port'; this.port.value = this.config.port; this.port.type = 'number'; this.port.addEventListener('change', this.valueUpdated); this.content.appendChild(this.port); + this.token.label = 'Plex Token'; + this.token.value = this.config.token; + this.token.addEventListener('change', this.valueUpdated); + this.content.appendChild(this.token); + this.libraryName.innerHTML = ''; const libraryItems: any = document.createElement('paper-listbox'); libraryItems.appendChild(addDropdownItem('Continue Watching'));