Skip to content
Snippets Groups Projects
Commit 2ddf71bf authored by Alex ORLUC's avatar Alex ORLUC
Browse files

FEAT #12091 TIME 0:05 fix timelimit pipe color

parent 7523e5aa
No related branches found
No related tags found
No related merge requests found
......@@ -63,7 +63,7 @@ export class TimeLimitPipe implements PipeTransform, OnDestroy {
} else if (minutes <= 59){
return this.getFormatedDate(this.lang.in[0].toUpperCase() + this.lang.in.substr(1).toLowerCase(), minutes + ' ' + this.lang.minutes, 'warn', args);
} else if (hours <= 23){
return this.getFormatedDate(this.lang.in[0].toUpperCase() + this.lang.in.substr(1).toLowerCase(), hours + ' ' + this.lang.hours, 'secondary', args);
return this.getFormatedDate(this.lang.in[0].toUpperCase() + this.lang.in.substr(1).toLowerCase(), hours + ' ' + this.lang.hours, 'warn', args);
} else if (days <= 5) {
return this.getFormatedDate(this.lang.in[0].toUpperCase() + this.lang.in.substr(1).toLowerCase(), days + ' ' + this.lang.dayS, 'secondary', args);
} else if (days <= 345) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment