Change the first character of all end-of-line comments to upper case
This commit is contained in:
@ -45,7 +45,7 @@ export class HomeComponent implements OnInit {
|
||||
for (var i = 0; i < data.length; i++) {
|
||||
temp.push({ id: data[i], count: 0, active: false });
|
||||
}
|
||||
this.keys = temp; // invoke update in rb-multiselect
|
||||
this.keys = temp; // Invoke update in rb-multiselect
|
||||
this.initChart();
|
||||
|
||||
// Only neccesary if keys get preselected
|
||||
@ -60,7 +60,7 @@ export class HomeComponent implements OnInit {
|
||||
let query = '/samples?status%5B%5D=validated&status=new&filters%5B%5D=%7B%22mode%22%3A%22in%22%2C%22field%22%3A%22material.group%22%2C%22values%22%3A%5B';
|
||||
let temp = '';
|
||||
this.keys.forEach(key => {
|
||||
temp += key.active ? '%22' + key.id.split("%").join("%25") + '%22%2C' : ""; // replace split().join() with replaceAll()
|
||||
temp += key.active ? '%22' + key.id.split("%").join("%25") + '%22%2C' : ""; // Replace split().join() with replaceAll()
|
||||
});
|
||||
if (temp === '') {
|
||||
this.countSamples('');
|
||||
|
Reference in New Issue
Block a user