Default episode title to TBA if empty

pull/3113/head
Mark McDowall 11 years ago
parent f65911aff7
commit f028d2338e

@ -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;
}
});

Loading…
Cancel
Save