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

Merge pull request #2029 from cvium/fix_movie_collections_create

Fix collectionEditor creation in movies
This commit is contained in:
dkanada 2020-11-03 21:21:58 +09:00 committed by GitHub
commit c4bd92de1d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -248,7 +248,7 @@ import 'emby-itemscontainer';
tabContent.querySelector('.btnNewCollection').addEventListener('click', () => { tabContent.querySelector('.btnNewCollection').addEventListener('click', () => {
import('collectionEditor').then(({default: collectionEditor}) => { import('collectionEditor').then(({default: collectionEditor}) => {
const serverId = ApiClient.serverInfo().Id; const serverId = ApiClient.serverInfo().Id;
new collectionEditor.showEditor({ new collectionEditor({
items: [], items: [],
serverId: serverId serverId: serverId
}); });