1
0
mirror of https://github.com/Radarr/Radarr.git synced 2026-04-18 21:35:51 -04:00

refresh series details after rename/refresh

Fixed: Refresh series details after series refresh and rename
This commit is contained in:
Mark McDowall
2013-09-29 01:48:47 -07:00
parent c2129054a0
commit bd1a9db0ef
4 changed files with 64 additions and 38 deletions
+9 -5
View File
@@ -11,13 +11,9 @@ define(
return response;
},
isActive: function () {
return this.get('state') !== 'completed' && this.get('state') !== 'failed';
},
isSameCommand: function (command) {
if (command.name.toLocaleLowerCase() != this.get('name').toLocaleLowerCase()) {
if (command.name.toLocaleLowerCase() !== this.get('name').toLocaleLowerCase()) {
return false;
}
@@ -28,6 +24,14 @@ define(
}
return true;
},
isActive: function () {
return this.get('state') !== 'completed' && this.get('state') !== 'failed';
},
isComplete: function () {
return this.get('state') === 'completed';
}
});
});