From 8b60fbf35500a129ed051ca038ac736cca1b73b8 Mon Sep 17 00:00:00 2001 From: cagataycivici Date: Fri, 6 Mar 2020 11:44:03 +0300 Subject: [PATCH] Lint fix --- src/components/utils/FilterUtils.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/components/utils/FilterUtils.js b/src/components/utils/FilterUtils.js index eb7c2254a..56077a87a 100644 --- a/src/components/utils/FilterUtils.js +++ b/src/components/utils/FilterUtils.js @@ -59,7 +59,7 @@ export default class FilterUtils { if (value.getTime && filter.getTime) return value.getTime() === filter.getTime(); else - return ObjectUtils.removeAccents(value.toString()).toLowerCase() == ObjectUtils.removeAccents(filter.toString()).toLowerCase(); + return ObjectUtils.removeAccents(value.toString()).toLowerCase() === ObjectUtils.removeAccents(filter.toString()).toLowerCase(); } static notEquals(value, filter) { @@ -74,7 +74,7 @@ export default class FilterUtils { if (value.getTime && filter.getTime) return value.getTime() !== filter.getTime(); else - return ObjectUtils.removeAccents(value.toString()).toLowerCase() != ObjectUtils.removeAccents(filter.toString()).toLowerCase(); + return ObjectUtils.removeAccents(value.toString()).toLowerCase() !== ObjectUtils.removeAccents(filter.toString()).toLowerCase(); } static in(value, filter) {