Commit 0dafdf4f24bb16b42880b5204ac30c4ec0ac3abb

Authored by Renato De Donato
1 parent 486ef94d

my space bug fix

datalets/base-ajax-json-alasql-datalet/static/js/AjaxJsonAlasqlBehavior.js
... ... @@ -92,7 +92,7 @@ var AjaxJsonAlasqlBehavior = {
92 92 var orders = JSON.parse(this._component.getAttribute("orders"));
93 93  
94 94 //preview my space
95   - if(filters[0] && filters[0].constructor == Array){
  95 + if(filters && filters[0] && filters[0].constructor == Array){
96 96 filters = filters[0];
97 97 aggregators = aggregators[0];
98 98 orders = orders[0];
... ...