mirror of
https://github.com/Radarr/Radarr.git
synced 2024-11-05 02:22:31 +01:00
Fixed EpisodeStatusCell
This commit is contained in:
parent
7ae7c488f3
commit
4fedccf6d3
@ -17,13 +17,14 @@ define(
|
||||
var tooltip;
|
||||
|
||||
var hasAired = Date.create(this.model.get('airDate')).isBefore(Date.create());
|
||||
var hasFile = this.model.get('hasFile');
|
||||
|
||||
if (hasAired) {
|
||||
if (hasFile) {
|
||||
icon = 'icon-ok';
|
||||
tooltip = 'Episode downloaded';
|
||||
}
|
||||
else {
|
||||
if (this.model.get('hasAired')) {
|
||||
if (hasAired) {
|
||||
icon = 'icon-warning-sign';
|
||||
tooltip = 'Episode missing from disk';
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user