mirror of
https://github.com/jellyfin/jellyfin-web.git
synced 2026-09-03 03:50:02 +03:00
change operator for layout mode check
Co-authored-by: Bill Thornton <thornbill@users.noreply.github.com>
This commit is contained in:
@@ -401,7 +401,7 @@ class AppRouter {
|
||||
}
|
||||
|
||||
if (context !== 'folders' && !itemHelper.isLocalItem(item)) {
|
||||
const layoutMode = localStorage.getItem('layout') ?? LayoutMode.Experimental;
|
||||
const layoutMode = localStorage.getItem('layout') || LayoutMode.Experimental;
|
||||
|
||||
if (layoutMode === LayoutMode.Experimental && item.CollectionType == CollectionType.Books) {
|
||||
return `#/books?topParentId=${item.Id}`;
|
||||
|
||||
Reference in New Issue
Block a user