j433866 6 gadi atpakaļ
vecāks
revīzija
c8eab5d218
1 mainītis faili ar 2 papildinājumiem un 0 dzēšanām
  1. 2 0
      src/core/lib/Magic.mjs

+ 2 - 0
src/core/lib/Magic.mjs

@@ -276,6 +276,8 @@ class Magic {
         let results = [];
         let results = [];
 
 
         // Record the properties of the current data
         // Record the properties of the current data
+        // Only if there either wasn't a filter provided,
+        // or the filter matches in the data
         if (filter == null || new RegExp(filter).test(this.inputStr)){
         if (filter == null || new RegExp(filter).test(this.inputStr)){
             results.push({
             results.push({
                 recipe: recipeConfig,
                 recipe: recipeConfig,