type pages and utilities

This commit is contained in:
2026-04-28 03:08:59 +03:00
parent 906120e6e6
commit 2589b695f1
17 changed files with 49 additions and 49 deletions
+1 -1
View File
@@ -120,7 +120,7 @@ function ChannelsList() {
return (
<ul className="grid grid-cols-1 md:grid-cols-2 xl:grid-cols-3 gap-2">
{channels.map(ch => {
const program = (ch as any).CurrentProgram as { Name?: string; StartDate?: string; EndDate?: string } | undefined
const program = ch.CurrentProgram as { Name?: string; StartDate?: string; EndDate?: string } | undefined
const imageTag = ch.ImageTags?.Primary
const img = ch.Id && imageTag ? getImageUrl(serverUrl, ch.Id, 'Primary', 128, imageTag) : ''
return (