csv fix
This commit is contained in:
		@@ -198,9 +198,6 @@ export class SamplesComponent implements OnInit {
 | 
				
			|||||||
      query.push('page-size=' + this.filters.pageSize);
 | 
					      query.push('page-size=' + this.filters.pageSize);
 | 
				
			||||||
    }
 | 
					    }
 | 
				
			||||||
    query.push('sort=' + this.filters.sort);
 | 
					    query.push('sort=' + this.filters.sort);
 | 
				
			||||||
    if (options.csv) {
 | 
					 | 
				
			||||||
      query.push('output=csv');
 | 
					 | 
				
			||||||
    }
 | 
					 | 
				
			||||||
    if (options.export) {
 | 
					    if (options.export) {
 | 
				
			||||||
      query.push('key=' + this.d.d.userKey.key);
 | 
					      query.push('key=' + this.d.d.userKey.key);
 | 
				
			||||||
    }
 | 
					    }
 | 
				
			||||||
@@ -230,7 +227,10 @@ export class SamplesComponent implements OnInit {
 | 
				
			|||||||
      });
 | 
					      });
 | 
				
			||||||
    }
 | 
					    }
 | 
				
			||||||
    else {
 | 
					    else {
 | 
				
			||||||
      if (this.downloadFlatten) {
 | 
					      if (options.csv) {
 | 
				
			||||||
 | 
					        query.push('output=csv');
 | 
				
			||||||
 | 
					      }
 | 
				
			||||||
 | 
					      else if (this.downloadFlatten) {
 | 
				
			||||||
        query.push('output=flatten');
 | 
					        query.push('output=flatten');
 | 
				
			||||||
      }
 | 
					      }
 | 
				
			||||||
      if (this.downloadSpectra) {
 | 
					      if (this.downloadSpectra) {
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user