Implemented cache clearing in channel list

This commit is contained in:
Trevor Mears
2025-12-28 19:35:10 -08:00
parent 3b460591e0
commit b504faf909
2 changed files with 14 additions and 0 deletions
+4
View File
@@ -16,6 +16,10 @@ class HomePage {
// Silently fetch EPG data for sidebar info
try {
await this.app.epgGuide.fetchEpgData();
// Clear cache so we don't get stale "null" results from initial render
this.app.channelList.clearProgramInfoCache();
// Update program info in existing DOM elements without re-rendering
this.updateProgramInfo();
} catch (err) {