tvbox兼容emby
This commit is contained in:
@@ -90,8 +90,8 @@ const MobileBottomNav = ({ activePath }: MobileBottomNavProps) => {
|
||||
},
|
||||
];
|
||||
|
||||
// 如果配置了 OpenList,添加私人影库入口
|
||||
if (runtimeConfig?.OPENLIST_ENABLED) {
|
||||
// 如果配置了 OpenList 或 Emby,添加私人影库入口
|
||||
if (runtimeConfig?.PRIVATE_LIBRARY_ENABLED) {
|
||||
items.push({
|
||||
icon: FolderOpen,
|
||||
label: '私人影库',
|
||||
|
||||
@@ -181,8 +181,8 @@ const Sidebar = ({ onToggle, activePath = '/' }: SidebarProps) => {
|
||||
},
|
||||
];
|
||||
|
||||
// 如果配置了 OpenList,添加私人影库入口
|
||||
if (runtimeConfig?.OPENLIST_ENABLED) {
|
||||
// 如果配置了 OpenList 或 Emby,添加私人影库入口
|
||||
if (runtimeConfig?.PRIVATE_LIBRARY_ENABLED) {
|
||||
items.push({
|
||||
icon: FolderOpen,
|
||||
label: '私人影库',
|
||||
|
||||
Reference in New Issue
Block a user