Fixed "undefined" appearing in markdown card styles

no issue
This commit is contained in:
Kevin Ansfield 2019-08-28 09:56:45 +01:00
parent bd6007c811
commit e32110c73a
1 changed files with 1 additions and 1 deletions

View File

@ -81,7 +81,7 @@ export default Component.extend({
// TODO: replace with Spirit classes
let baseStyles = 'cursor: default; caret-color: auto;';
this.set('_style', htmlSafe(`${baseStyles} ${this.style}`));
this.set('_style', htmlSafe(`${baseStyles} ${this.style || ''}`));
if (isSelected !== this._lastIsSelected) {
if (isSelected) {