Commit fa9c175198f4edb3070a0bf185bf0f6bb005b427
1 parent
39d5ab70
filter bug
Showing
1 changed file
with
1 additions
and
1 deletions
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 = []; |