extends ../layouts/main block content include ../../venue/components/channel-list-item h1 Manage Your DTP Venue - var onlineChannels = channels.filter((channel) => channel.lastUpdate && (channel.lastUpdate.status === 'live')) var offlineChannels = channels.filter((channel) => !channel.lastUpdate || (channel.lastUpdate.status !== 'live')) if Array.isArray(offlineChannels) && (channels.length > 0) uk.uk-list.uk-list-divider each channel of offlineChannels li +renderVenueChannelListItem(channel, { baseUrl: '/admin/venue/channel' }) else div There are no channels integrated with #{site.name}. pre= JSON.stringify(channels, null, 2)