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; ctx["target"] = name;
} }
if ( if (t.name === "category" || t.name === "badge" || t.name === "reltime") {
t.name === "category" ||
t.name === "badge" ||
t.name === "reltime"
) {
// only replace helpers if needed // only replace helpers if needed
params.helpers = helpers; params.helpers = helpers;
} }
try { try {
return new Handlebars.SafeString( return new Handlebars.SafeString((t.template || fallback)(ctx, params));
(t.template || fallback)(ctx, params)
);
} catch (e) { } catch (e) {
return "error"; return "error";
} }