FIX: parenthesis were wrong, resulting in an always true expression (#9690)

FIX: parenthesis were wrong, resulting in an always true expression (#9690)

diff --git a/app/assets/javascripts/discourse/app/components/navigation-bar.js b/app/assets/javascripts/discourse/app/components/navigation-bar.js
index 3da0001..fc10137 100644
--- a/app/assets/javascripts/discourse/app/components/navigation-bar.js
+++ b/app/assets/javascripts/discourse/app/components/navigation-bar.js
@@ -29,7 +29,7 @@ export default Component.extend(FilterModeMixin, {
           if (
             c.connectorClass &&
             typeof c.connectorClass.path === "function" &&
-            typeof (c.connectorClass.displayName === "function")
+            typeof c.connectorClass.displayName === "function"
           ) {
             let path = c.connectorClass.path(category);
             if (path.indexOf(filterType) > 0) {

GitHub sha: 788e3054

This commit appears in #9690 which was approved by eviltrout. It was merged by jjaffeux.