lint file

This commit is contained in:
Sam Saffron 2020-01-13 10:43:30 +11:00
parent 6707072ef1
commit 7e21634987
1 changed files with 2 additions and 8 deletions

View File

@ -88,19 +88,13 @@ const QueryRowContentComponent = Ember.Component.extend({
ctx["target"] = name;
}
if (
t.name === "category" ||
t.name === "badge" ||
t.name === "reltime"
) {
if (t.name === "category" || t.name === "badge" || t.name === "reltime") {
// only replace helpers if needed
params.helpers = helpers;
}
try {
return new Handlebars.SafeString(
(t.template || fallback)(ctx, params)
);
return new Handlebars.SafeString((t.template || fallback)(ctx, params));
} catch (e) {
return "error";
}