DEV: Run prettier on `report.js.es6`

The prettier version I was running was different to the CI pipeline
This commit is contained in:
David Taylor 2019-02-01 13:22:31 +00:00
parent 5c9426be48
commit eb617dea4b
1 changed files with 3 additions and 1 deletions

View File

@ -352,7 +352,9 @@ const Report = Discourse.Model.extend({
property: properties.title,
value: postTitle,
formatedValue:
postTitle && href ? `<a href='${href}'>${escapeExpression(postTitle)}</a>` : "—"
postTitle && href
? `<a href='${href}'>${escapeExpression(postTitle)}</a>`
: "—"
};
},