mirror of
https://github.com/4gray/iptvnator.git
synced 2026-10-16 14:16:16 -08:00
refactor: extend store with current epg program field
This commit is contained in:
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);
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in new issue
Block a user