From c3044a6b8b91755042dc0b23abdd7192111ee73f Mon Sep 17 00:00:00 2001 From: IgnatzHome Date: Sun, 20 May 2018 10:20:29 +0200 Subject: removing .cmd in oricessing Operators --- client/lib/filter.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/client/lib/filter.js b/client/lib/filter.js index 04edaa38..c087ca78 100644 --- a/client/lib/filter.js +++ b/client/lib/filter.js @@ -208,8 +208,8 @@ class AdvancedFilter { case '|': case '||': { - const op1 = commands[i-1].cmd; - const op2 = commands[i+1].cmd; + const op1 = commands[i-1]; + const op2 = commands[i+1]; commands[i] = {$or: [op1, op2]}; commands.splice(i-1, 1); commands.splice(i, 1); -- cgit v1.2.3-1-g7c22