From 12eb66210be1ba3d9341b8c3821c722bc017e074 Mon Sep 17 00:00:00 2001 From: Bill Thornton Date: Tue, 24 Nov 2020 23:13:15 -0500 Subject: [PATCH] Fix fetcher settings html import --- src/components/imageOptionsEditor/imageOptionsEditor.js | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/components/imageOptionsEditor/imageOptionsEditor.js b/src/components/imageOptionsEditor/imageOptionsEditor.js index a220a65c5d..8b6b8fc99e 100644 --- a/src/components/imageOptionsEditor/imageOptionsEditor.js +++ b/src/components/imageOptionsEditor/imageOptionsEditor.js @@ -11,6 +11,7 @@ import dialogHelper from '../dialogHelper/dialogHelper'; import '../../elements/emby-checkbox/emby-checkbox'; import '../../elements/emby-select/emby-select'; import '../../elements/emby-input/emby-input'; +import template from './imageOptionsEditor.template.html'; function getDefaultImageConfig(itemType, type) { return { @@ -90,9 +91,6 @@ import '../../elements/emby-input/emby-input'; } async function showEditor(itemType, options, availableOptions) { - const response = await fetch('components/imageOptionsEditor/imageOptionsEditor.template.html'); - const template = await response.text(); - const dlg = dialogHelper.createDialog({ size: 'small', removeOnClose: true,