Jelajahi Sumber

removing .cmd in oricessing Operators

IgnatzHome 7 tahun lalu
induk
melakukan
c3044a6b8b
1 mengubah file dengan 2 tambahan dan 2 penghapusan
  1. 2 2
      client/lib/filter.js

+ 2 - 2
client/lib/filter.js

@@ -208,8 +208,8 @@ class AdvancedFilter {
         case '|':
         case '|':
         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[i] = {$or: [op1, op2]};
           commands.splice(i-1, 1);
           commands.splice(i-1, 1);
           commands.splice(i, 1);
           commands.splice(i, 1);