diff --git a/interfaces/IBF-dashboard/src/app/services/timeline.service.ts b/interfaces/IBF-dashboard/src/app/services/timeline.service.ts index 0f5c14f30..d26ba4822 100644 --- a/interfaces/IBF-dashboard/src/app/services/timeline.service.ts +++ b/interfaces/IBF-dashboard/src/app/services/timeline.service.ts @@ -62,7 +62,10 @@ export class TimelineService { date: this.getLeadTimeDate(leadTime, triggerKey), unit: leadTime.split('-')[1] as LeadTimeUnit, value: leadTime, - alert: this.triggers[leadTime] === '1', + alert: + this.triggers[ + leadTime.includes('day') ? leadTime.substr(0, 1) : leadTime + ] === '1', disabled: isLeadTimeDisabled, active: false, };