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 a5a2441c09
commit 7c0db288b4

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) {