mirror of
https://github.com/lidarr/lidarr.git
synced 2025-07-14 00:53:57 -07:00
Downloaded overrides other statuses.
This commit is contained in:
parent
a2054e782f
commit
56a34b5ea6
2 changed files with 9 additions and 9 deletions
|
@ -24,6 +24,10 @@ define(
|
|||
var start = Moment(this.airDateUtc);
|
||||
var end = Moment(this.end);
|
||||
|
||||
if (hasFile) {
|
||||
return 'success';
|
||||
}
|
||||
|
||||
if (currentTime.isAfter(start) && currentTime.isBefore(end)) {
|
||||
return 'warning';
|
||||
}
|
||||
|
@ -32,10 +36,6 @@ define(
|
|||
return 'danger';
|
||||
}
|
||||
|
||||
if (hasFile) {
|
||||
return 'success';
|
||||
}
|
||||
|
||||
return 'primary';
|
||||
|
||||
});
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue