mirror of
https://github.com/lidarr/lidarr.git
synced 2025-07-14 00:53:57 -07:00
Moved FC properties out of episode model
This commit is contained in:
parent
17941f5b39
commit
db8912e5b7
2 changed files with 5 additions and 9 deletions
|
@ -9,9 +9,6 @@ define(['app'], function () {
|
|||
paddedEpisodeNumber: function () {
|
||||
return this.get('episodeNumber');
|
||||
},
|
||||
allDay : function () {
|
||||
return false;
|
||||
},
|
||||
day : function () {
|
||||
return Date.create(this.get('airDate')).format('{dd}');
|
||||
},
|
||||
|
@ -27,12 +24,6 @@ define(['app'], function () {
|
|||
|
||||
return start.format('{h}.{mm}{tt}');
|
||||
},
|
||||
start : function () {
|
||||
return this.get('airDate');
|
||||
},
|
||||
end : function () {
|
||||
return this.get('endTime');
|
||||
},
|
||||
statusLevel : function () {
|
||||
var status = this.get('status');
|
||||
var currentTime = Date.create();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue