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

Migration collectionEditor and playlisteditor to ES6 modules

This commit is contained in:
grafixeyehero 2020-06-14 02:28:15 +03:00
parent a27eae98e5
commit e81a7dbb8f
9 changed files with 217 additions and 188 deletions

View file

@ -255,7 +255,7 @@ define(['browser', 'appStorage', 'apphost', 'loading', 'connectionManager', 'glo
switch (id) {
case 'addtocollection':
require(['collectionEditor'], function (collectionEditor) {
new collectionEditor().show({
new collectionEditor.default().show({
items: items,
serverId: serverId
});
@ -265,7 +265,7 @@ define(['browser', 'appStorage', 'apphost', 'loading', 'connectionManager', 'glo
break;
case 'playlist':
require(['playlistEditor'], function (playlistEditor) {
new playlistEditor().show({
new playlistEditor.default().show({
items: items,
serverId: serverId
});