fix activeeventhasbanner function

This commit is contained in:
AJ Fontaine 2025-03-31 14:48:12 -04:00 committed by GitHub
parent dae9c30cca
commit b4471a7863
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -326,7 +326,7 @@ export class TimedEventManager {
} }
activeEventHasBanner(): boolean { activeEventHasBanner(): boolean {
const activeEvents = timedEvents.filter(te => this.isActive(te) && te.hasOwnProperty("bannerFilename")); const activeEvents = timedEvents.filter(te => this.isActive(te) && te.hasOwnProperty("bannerKey"));
return activeEvents.length > 0; return activeEvents.length > 0;
} }