mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
use regular detail page for game systems
This commit is contained in:
parent
045ad64eb5
commit
d95f783686
3 changed files with 3 additions and 101 deletions
|
@ -305,6 +305,9 @@
|
|||
if (item.Type == "MusicAlbum") {
|
||||
return "itemdetails.html?id=" + id;
|
||||
}
|
||||
if (item.Type == "GamePlatform") {
|
||||
return "itemdetails.html?id=" + id;
|
||||
}
|
||||
if (item.Type == "Genre") {
|
||||
return "itembynamedetails.html?genre=" + encodeName(item.Name) + "&context=" + itemByNameContext;
|
||||
}
|
||||
|
@ -317,9 +320,6 @@
|
|||
if (item.Type == "Artist") {
|
||||
return "itembynamedetails.html?artist=" + encodeName(item.Name) + "&context=" + (itemByNameContext || "music");
|
||||
}
|
||||
if (item.Type == "GamePlatform") {
|
||||
return "gamesystem.html?id=" + id;
|
||||
}
|
||||
|
||||
return item.IsFolder ? (id ? "itemList.html?parentId=" + id : "#") : "itemdetails.html?id=" + id;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue