mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
Fix device images on main dashboard page
This commit is contained in:
parent
8d02d05441
commit
efbfbb822e
1 changed files with 2 additions and 2 deletions
|
@ -3,7 +3,7 @@ define(["browser"], function (browser) {
|
|||
|
||||
function getDeviceIcon(device) {
|
||||
var baseUrl = "assets/img/devices/";
|
||||
switch (device.AppName) {
|
||||
switch (device.AppName || device.Client) {
|
||||
case "Samsung Smart TV":
|
||||
return baseUrl + "samsung.svg";
|
||||
case "Xbox One":
|
||||
|
@ -15,7 +15,7 @@ define(["browser"], function (browser) {
|
|||
case "Jellyfin Android":
|
||||
return baseUrl + "android.svg";
|
||||
case "Jellyfin Web":
|
||||
switch (device.Name) {
|
||||
switch (device.Name || device.DeviceName) {
|
||||
case "Opera":
|
||||
case "Opera TV":
|
||||
return baseUrl + "opera.svg";
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue