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

Use array.flat instead of concat.apply

This commit is contained in:
Bill Thornton 2023-01-04 23:40:01 -05:00
parent d54a89d10a
commit 1eafb235e2

View file

@ -382,7 +382,7 @@ import toast from './toast/toast';
});
}
)).then(seasonData => {
downloadEpisodes([].concat.apply([], seasonData.map(season => season.Items)));
downloadEpisodes(seasonData.map(season => season.Items).flat());
});
};