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

Remove old Emby (3.x) version checks

As per https://trello.com/c/sA25wd46/8-remove-old-emby-3x-version-checks
This commit is contained in:
James Raspass 2023-03-02 13:24:46 +00:00
parent 2681d5c4ca
commit bd9d3e5f65
3 changed files with 8 additions and 24 deletions

View file

@ -1156,12 +1156,7 @@ function renderMoreFromArtist(view, item, apiClient) {
const section = view.querySelector('.moreFromArtistSection');
if (section) {
if (item.Type === 'MusicArtist') {
if (!apiClient.isMinServerVersion('3.4.1.19')) {
section.classList.add('hide');
return;
}
} else if (item.Type !== 'MusicAlbum' || !item.AlbumArtists || !item.AlbumArtists.length) {
if (item.Type !== 'MusicArtist' && (item.Type !== 'MusicAlbum' || !item.AlbumArtists || !item.AlbumArtists.length)) {
section.classList.add('hide');
return;
}