mirror of
https://github.com/Prowlarr/Prowlarr.git
synced 2025-09-17 17:14:18 +02:00
Downloaded overrides other statuses.
This commit is contained in:
@@ -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';
|
||||
|
||||
});
|
||||
|
Reference in New Issue
Block a user