fix(angular): remove template diagnostics warnings (#1011)

* fix(angular): remove template diagnostics warnings

* fix(angular): preserve template fallback behavior
This commit is contained in:
4gray authored and GitHub committed 2026-05-26 18:33:44 +02:00
1 parent 1bbe8f794e
commit 3d4d2ca9bf
19 files changed
+184 -40

No files matched your search

@@ -2,12 +2,12 @@
<div class="channel-dialog__hero-copy">
<div class="channel-dialog__eyebrow">
<span class="channel-dialog__eyebrow-mark"></span>
{{ channel.group?.title || 'M3U' }}
{{ channel.group.title || 'M3U' }}
</div>
<div class="channel-dialog__headline-row">
<div class="channel-dialog__headline-text">
@if (channel.tvg?.logo) {
@if (channel.tvg.logo) {
<img
class="channel-dialog__logo"
[src]="channel.tvg.logo"
@@ -10,14 +10,14 @@
i +
1 +
'. ' +
(item.channel?.name || 'CHANNELS.UNNAMED_CHANNEL' | translate)
(item.channel.name || 'CHANNELS.UNNAMED_CHANNEL' | translate)
"
[logo]="item.logo"
[showEpg]="shouldShowEpg()"
[isRadio]="item.channel?.radio === 'true'"
[isRadio]="item.channel.radio === 'true'"
[epgProgram]="item.epgProgram"
[progressPercentage]="item.progressPercentage"
[selected]="activeChannelUrl() === item.channel?.url"
[selected]="activeChannelUrl() === item.channel.url"
[showDetailsContextMenu]="true"
[showAuxActionButton]="true"
[auxActionIcon]="'delete'"
@@ -53,11 +53,11 @@
<button
class="season-card"
(click)="selectSeason(season.key)"
[class.season-card--has-episodes]="season.value?.length"
[class.season-card--has-episodes]="season.value.length"
>
<div class="season-card__number">{{ season.key }}</div>
<div class="season-card__label">Season</div>
@if (season.value?.length) {
@if (season.value.length) {
<div class="season-card__episodes">
{{ season.value.length }}
{{