refactor: extend store with current epg program field

This commit is contained in:
4gray committed 2021-07-05 18:45:04 +02:00
1 parent 9f5014021c
commit 0116a63823
2 files changed
+15

No files matched your search

@@ -105,6 +105,7 @@ export class EpgListComponent {
} else {
this.items = [];
this.channel = null;
this.channelStore.setCurrentEpgProgram(undefined);
}
}
@@ -155,6 +156,7 @@ export class EpgListComponent {
this.playingNow = this.items.find(
(item) => this.timeNow >= item.start && this.timeNow <= item.stop
);
this.channelStore.setCurrentEpgProgram(this.playingNow);
}
/**