type pages and utilities
This commit is contained in:
@@ -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 (
|
||||
|
||||
Reference in New Issue
Block a user