1
0
Fork 0
mirror of https://github.com/lidarr/Lidarr synced 2024-12-25 01:02:05 +00:00

Default episode title to TBA if empty

This commit is contained in:
Mark McDowall 2013-06-28 11:25:09 -07:00
parent f65911aff7
commit f028d2338e

View file

@ -20,7 +20,13 @@ define(
},
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;
}
});