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

This commit is contained in:
Joffrey JAFFEUX 2020-05-07 19:56:35 +02:00 committed by GitHub
parent 79c64eaeff
commit 788e305469
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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) {