mirror of
https://github.com/jellyfin/jellyfin-web.git
synced 2024-11-17 02:48:19 -07:00
Use square shape for homevideos items in home sections
This commit is contained in:
parent
4113f001cb
commit
fcb6808a9f
@ -243,9 +243,11 @@ define(['connectionManager', 'cardBuilder', 'appSettings', 'dom', 'apphost', 'la
|
||||
return function (items) {
|
||||
var cardLayout = false;
|
||||
var shape;
|
||||
console.warn(viewType);
|
||||
console.warn(itemType);
|
||||
if (itemType === 'Channel' || viewType === 'movies' || viewType === 'books' || viewType === 'tvshows') {
|
||||
shape = getPortraitShape();
|
||||
} else if (viewType === 'music') {
|
||||
} else if (viewType === 'music' || viewType === 'homevideos') {
|
||||
shape = getSquareShape();
|
||||
} else {
|
||||
shape = getThumbShape();
|
||||
|
Loading…
Reference in New Issue
Block a user