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 19:39:03 +00:00 committed by GitHub
parent 5b5d6a45b0
commit 0da8f4eb85
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 3 additions and 3 deletions

View file

@ -696,7 +696,7 @@ export default function () {
}
function savePlaylist() {
import('../playlisteditor/playlisteditor').then((playlistEditor) => {
import('../playlisteditor/playlisteditor').then(({ default: playlistEditor }) => {
getSaveablePlaylistItems().then(function (items) {
const serverId = items.length ? items[0].ServerId : ApiClient.serverId();
new playlistEditor({