Fixed: Time left cell for pending items in queue

This commit is contained in:
Mark McDowall 2017-06-18 22:15:44 -07:00
parent 359ef04861
commit 65b936ed94
No known key found for this signature in database
GPG Key ID: D4CEFA9A718052E0
1 changed files with 1 additions and 1 deletions

View File

@ -14,7 +14,7 @@ module.exports = NzbDroneCell.extend({
var ect = this.cellValue.get('estimatedCompletionTime');
var time = '{0} at {1}'.format(FormatHelpers.relativeDate(ect), moment(ect).format(UiSettingsModel.time(true, false)));
if (status === 'pending') {
if (status === 'delay') {
this.$el.html('<div title="Delaying download till {0}">-</div>'.format(time));
} else if (status === 'downloadclientunavailable') {
this.$el.html('<div title="Retrying download at {0}">-</div>'.format(time));