Resync'd UI and API

This commit is contained in:
Mark McDowall 2013-04-21 18:21:24 -07:00
parent c3214a2e88
commit 000b7bf9e0
7 changed files with 19 additions and 11 deletions

View file

@ -35,11 +35,18 @@
return "http://trakt.tv/show/" + this.get('titleSlug');
},
isContinuing : function () {
if (this.get('status') === 'Continuing'){
if (this.get('status') === 0){
return true;
}
return false;
},
statusText: function () {
if (this.get('status') === 0) {
return 'Continuing';
}
return 'Ended';
}
},
@ -48,7 +55,8 @@
episodeCount : 0,
qualityProfiles : qualityProfileCollection,
rootFolders : rootFolders,
isExisting : false
isExisting : false,
status: 0
}
});