mirror of
https://github.com/Prowlarr/Prowlarr.git
synced 2025-09-17 17:14:18 +02:00
Fixed: Getting tracked download status for pending item in UI won't result in an error
This commit is contained in:
@@ -15,7 +15,7 @@ define(
|
|||||||
|
|
||||||
if (this.cellValue) {
|
if (this.cellValue) {
|
||||||
var status = this.cellValue.get('status').toLowerCase();
|
var status = this.cellValue.get('status').toLowerCase();
|
||||||
var trackedDownloadStatus = this.cellValue.get('trackedDownloadStatus').toLowerCase();
|
var trackedDownloadStatus = this.cellValue.has('trackedDownloadStatus') ? this.cellValue.get('trackedDownloadStatus').toLowerCase() : 'ok';
|
||||||
var icon = 'icon-nd-downloading';
|
var icon = 'icon-nd-downloading';
|
||||||
var title = 'Downloading';
|
var title = 'Downloading';
|
||||||
var itemTitle = this.cellValue.get('title');
|
var itemTitle = this.cellValue.get('title');
|
||||||
|
Reference in New Issue
Block a user