mirror of
https://github.com/jellyfin/jellyfin-web.git
synced 2024-11-17 10:58:20 -07:00
Merge pull request #2121 from thornbill/fix-fetcher-settings
Fix fetcher settings html import
This commit is contained in:
commit
a027ba7143
@ -11,6 +11,7 @@ import dialogHelper from '../dialogHelper/dialogHelper';
|
|||||||
import '../../elements/emby-checkbox/emby-checkbox';
|
import '../../elements/emby-checkbox/emby-checkbox';
|
||||||
import '../../elements/emby-select/emby-select';
|
import '../../elements/emby-select/emby-select';
|
||||||
import '../../elements/emby-input/emby-input';
|
import '../../elements/emby-input/emby-input';
|
||||||
|
import template from './imageOptionsEditor.template.html';
|
||||||
|
|
||||||
function getDefaultImageConfig(itemType, type) {
|
function getDefaultImageConfig(itemType, type) {
|
||||||
return {
|
return {
|
||||||
@ -89,10 +90,7 @@ import '../../elements/emby-input/emby-input';
|
|||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
async function showEditor(itemType, options, availableOptions) {
|
function showEditor(itemType, options, availableOptions) {
|
||||||
const response = await fetch('components/imageOptionsEditor/imageOptionsEditor.template.html');
|
|
||||||
const template = await response.text();
|
|
||||||
|
|
||||||
const dlg = dialogHelper.createDialog({
|
const dlg = dialogHelper.createDialog({
|
||||||
size: 'small',
|
size: 'small',
|
||||||
removeOnClose: true,
|
removeOnClose: true,
|
||||||
|
Loading…
Reference in New Issue
Block a user