FIX: parenthesis were wrong, resulting in an always true expression (#9690)
This commit is contained in:
parent
79c64eaeff
commit
788e305469
|
@ -29,7 +29,7 @@ export default Component.extend(FilterModeMixin, {
|
||||||
if (
|
if (
|
||||||
c.connectorClass &&
|
c.connectorClass &&
|
||||||
typeof c.connectorClass.path === "function" &&
|
typeof c.connectorClass.path === "function" &&
|
||||||
typeof (c.connectorClass.displayName === "function")
|
typeof c.connectorClass.displayName === "function"
|
||||||
) {
|
) {
|
||||||
let path = c.connectorClass.path(category);
|
let path = c.connectorClass.path(category);
|
||||||
if (path.indexOf(filterType) > 0) {
|
if (path.indexOf(filterType) > 0) {
|
||||||
|
|
Loading…
Reference in New Issue