Commit 47c1dcd5a5d516f9dc1a3d0adccae99ae06841fc
1 parent
238a48d9
selectio-controllet update
Showing
1 changed file
with
2 additions
and
2 deletions
controllets/dataset-selection-controllet/dataset-selection-controllet.html
... | ... | @@ -225,7 +225,7 @@ |
225 | 225 | }, |
226 | 226 | |
227 | 227 | _filterDatasets : function(e){ |
228 | - var filter = e.detail.inputValue;console.log(filter); | |
228 | + var filter = e.detail.inputValue; | |
229 | 229 | var filteredDatasets = []; |
230 | 230 | for (var i in this.datasets){ |
231 | 231 | if(this.datasets[i].name.toLowerCase().indexOf(filter.toLowerCase()) != -1) |
... | ... | @@ -256,7 +256,7 @@ |
256 | 256 | }, |
257 | 257 | |
258 | 258 | _selectDataUrl : function(e){ |
259 | - var dataset = this.datasets[parseInt(e.target.id)] | |
259 | + var dataset = this.filteredDatasets[parseInt(e.target.id)] | |
260 | 260 | |
261 | 261 | this.dataUrl = dataset.url; |
262 | 262 | ... | ... |