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:
parent
b2fb40e23b
commit
2243b35311
8 changed files with 8 additions and 8 deletions
|
@ -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')
|
||||
|
|
|
@ -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 {
|
||||
|
|
|
@ -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()
|
||||
});
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue