mirror of
https://github.com/Prowlarr/Prowlarr.git
synced 2025-09-17 17:14:18 +02:00
Default episode title to TBA if empty
This commit is contained in:
@@ -20,7 +20,13 @@ define(
|
|||||||
},
|
},
|
||||||
|
|
||||||
render: function () {
|
render: function () {
|
||||||
this.$el.html(this.cellValue.get('title'));
|
var title = this.cellValue.get('title');
|
||||||
|
|
||||||
|
if (!title || title === '') {
|
||||||
|
title = 'TBA';
|
||||||
|
}
|
||||||
|
|
||||||
|
this.$el.html(title);
|
||||||
return this;
|
return this;
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
Reference in New Issue
Block a user