DEV: fix prettier offense
This commit is contained in:
parent
1f6f118e52
commit
42c2068ada
|
@ -283,13 +283,11 @@ Category.reopenClass({
|
||||||
return (
|
return (
|
||||||
item &&
|
item &&
|
||||||
item.get("parentCategory") === parentCategory &&
|
item.get("parentCategory") === parentCategory &&
|
||||||
(
|
((Discourse.SiteSettings.slug_generation_method !== "encoded" &&
|
||||||
Discourse.SiteSettings.slug_generation_method !== "encoded" &&
|
Category.slugFor(item) === parentSlug + "/" + slug) ||
|
||||||
Category.slugFor(item) === parentSlug + "/" + slug
|
(Discourse.SiteSettings.slug_generation_method === "encoded" &&
|
||||||
||
|
Category.slugFor(item) ===
|
||||||
Discourse.SiteSettings.slug_generation_method === "encoded" &&
|
encodeURI(parentSlug) + "/" + encodeURI(slug)))
|
||||||
Category.slugFor(item) === encodeURI(parentSlug) + "/" + encodeURI(slug)
|
|
||||||
)
|
|
||||||
);
|
);
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue