mirror of
https://github.com/lidarr/lidarr.git
synced 2025-08-19 21:13:28 -07:00
Default episode title to TBA if empty
This commit is contained in:
parent
f65911aff7
commit
f028d2338e
1 changed files with 7 additions and 1 deletions
|
@ -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;
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue