fixed card styling for import series

This commit is contained in:
Keivan Beigi 2013-06-04 18:04:34 -07:00
parent 9160343a51
commit 942679d4bd
3 changed files with 15 additions and 10 deletions

View file

@ -24,11 +24,14 @@ define(['app'], function () {
return start.format('{h}.{mm}{tt}');
},
end : function () {
var start = Date.create(this.get('airDate'));
var runtime = this.get('series').runtime;
end : function () {
return start.addMinutes(runtime);
if (this.has('series')) {
var start = Date.create(this.get('airDate'));
var runtime = this.get('series').runtime;
return start.addMinutes(runtime);
}
},
statusLevel : function () {
var episodeFileId = this.get('episodeFileId');