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

fixed multiple default imports missing

Co-authored-by: Dmitry Lyzo <56478732+dmitrylyzo@users.noreply.github.com>
This commit is contained in:
vitorsemeano 2020-11-08 12:26:11 +00:00 committed by GitHub
parent b2fb40e23b
commit 2243b35311
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
8 changed files with 8 additions and 8 deletions

View file

@ -72,7 +72,7 @@ import confirm from '../../components/confirm/confirm';
}
function renameVirtualFolder(page, virtualFolder) {
import('../../components/prompt/prompt').then((prompt) => {
import('../../components/prompt/prompt').then(({default: prompt}) => {
prompt({
label: globalize.translate('LabelNewName'),
confirmText: globalize.translate('ButtonRename')

View file

@ -5,7 +5,7 @@ function reload(context, itemId) {
loading.show();
if (itemId) {
import('../components/metadataEditor/metadataEditor').then((metadataEditor) => {
import('../components/metadataEditor/metadataEditor').then(({ default: metadataEditor }) => {
metadataEditor.embed(context.querySelector('.editPageInnerContent'), itemId, ApiClient.serverInfo().Id);
});
} else {

View file

@ -103,7 +103,7 @@ function submitForm(page) {
}
function getDetectedDevice() {
return import('../components/tunerPicker').then((tunerPicker) => {
return import('../components/tunerPicker').then(({default: tunerPicker}) => {
return new tunerPicker().show({
serverId: ApiClient.serverId()
});