fixed search

This commit is contained in:
DevOFVictory committed 2025-11-12 19:25:21 +01:00
1 parent b287f19686
commit 9516642beb
2 files changed
+32 -7

No files matched your search

+2 -2
View File
@@ -41,11 +41,11 @@ export function mapApiSeasonToUI(data: any) {
export function mapApiShowToUI(data: any) {
return {
showId: data?.showId ?? data?.id,
id: data.showId ?? data.id, // <-- hier der Fix
title: data?.title ?? data?.name ?? `Show #${data?.showId ?? data?.id ?? "?"}`,
description: data?.description ?? "",
genre: data?.genre ?? "",
thumbnailUrl: data?.thumbnailUrl ?? data?.imageUrl ?? "",
thumbnailUri: data?.thumbnailUrl ?? data?.imageUrl ?? "",
running: data?.running ?? false,
} as any;
}