This commit is contained in:
Fredrik Burmester
2025-01-03 10:12:43 +01:00
parent ea3cc18b3c
commit 7639de153b
6 changed files with 2 additions and 29 deletions

View File

@@ -16,7 +16,7 @@ export const itemRouter = (
item: BaseItemDto | BaseItemPerson,
from: string
) => {
console.log(item.Type);
console.log(item.Type, item?.CollectionType);
if ("CollectionType" in item && item.CollectionType === "livetv") {
return `/(auth)/(tabs)/${from}/livetv`;