mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
fix multiple import defaults missing
Co-authored-by: Dmitry Lyzo <56478732+dmitrylyzo@users.noreply.github.com>
This commit is contained in:
parent
366fa21408
commit
2a3ade9bb9
10 changed files with 22 additions and 23 deletions
|
@ -239,7 +239,7 @@ import confirm from '../confirm/confirm';
|
|||
|
||||
switch (id) {
|
||||
case 'addtocollection':
|
||||
import('../collectionEditor/collectionEditor').then((collectionEditor) => {
|
||||
import('../collectionEditor/collectionEditor').then(({default: collectionEditor}) => {
|
||||
new collectionEditor({
|
||||
items: items,
|
||||
serverId: serverId
|
||||
|
@ -279,7 +279,7 @@ import confirm from '../confirm/confirm';
|
|||
dispatchNeedsRefresh();
|
||||
break;
|
||||
case 'refresh':
|
||||
import('../refreshdialog/refreshdialog').then((refreshDialog) => {
|
||||
import('../refreshdialog/refreshdialog').then(({default: refreshDialog}) => {
|
||||
new refreshDialog({
|
||||
itemIds: items,
|
||||
serverId: serverId
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue