mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
added GameSystem entity
This commit is contained in:
parent
e3d0113106
commit
f41de12af4
3 changed files with 6 additions and 6 deletions
|
@ -185,7 +185,7 @@
|
|||
|
||||
html += '<p class="itemMiscInfo">' + childText + '</p>';
|
||||
}
|
||||
else if (item.Type == "GamePlatform") {
|
||||
else if (item.Type == "GameSystem") {
|
||||
|
||||
childText = item.ChildCount == 1 ? "1 Game" : item.ChildCount + " Games";
|
||||
|
||||
|
@ -203,7 +203,7 @@
|
|||
}
|
||||
else if (item.Type == "Game") {
|
||||
|
||||
html += '<p class="itemMiscInfo">' + item.GameSystem + '</p>';
|
||||
html += '<p class="itemMiscInfo">' + (item.DisplayMediaType || item.GameSystem) + '</p>';
|
||||
}
|
||||
else if (item.Type == "Episode") {
|
||||
|
||||
|
@ -537,7 +537,7 @@
|
|||
if (item.Type == "MusicAlbum") {
|
||||
return "itemdetails.html?id=" + id;
|
||||
}
|
||||
if (item.Type == "GamePlatform") {
|
||||
if (item.Type == "GameSystem") {
|
||||
return "itemdetails.html?id=" + id;
|
||||
}
|
||||
if (item.Type == "Genre") {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue