Commit fa9c175198f4edb3070a0bf185bf0f6bb005b427

Authored by Renato De Donato
1 parent 39d5ab70

filter bug

controllets/select-data-controllet/select-data-controllet.html
@@ -101,7 +101,7 @@ @@ -101,7 +101,7 @@
101 $(this.$.material_tree_view).perfectScrollbar(); 101 $(this.$.material_tree_view).perfectScrollbar();
102 102
103 if(this.filters == undefined){ 103 if(this.filters == undefined){
104 - if(this.dataletPreset["filters"] != undefined) 104 + if(this.dataletPreset && this.dataletPreset["filters"] != undefined)
105 this.filters = JSON.parse(this.dataletPreset["filters"]); 105 this.filters = JSON.parse(this.dataletPreset["filters"]);
106 else 106 else
107 this.filters = []; 107 this.filters = [];