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('sort=' + this.filters.sort);
 | 
			
		||||
    if (options.csv) {
 | 
			
		||||
      query.push('output=csv');
 | 
			
		||||
    }
 | 
			
		||||
    if (options.export) {
 | 
			
		||||
      query.push('key=' + this.d.d.userKey.key);
 | 
			
		||||
    }
 | 
			
		||||
@@ -230,7 +227,10 @@ export class SamplesComponent implements OnInit {
 | 
			
		||||
      });
 | 
			
		||||
    }
 | 
			
		||||
    else {
 | 
			
		||||
      if (this.downloadFlatten) {
 | 
			
		||||
      if (options.csv) {
 | 
			
		||||
        query.push('output=csv');
 | 
			
		||||
      }
 | 
			
		||||
      else if (this.downloadFlatten) {
 | 
			
		||||
        query.push('output=flatten');
 | 
			
		||||
      }
 | 
			
		||||
      if (this.downloadSpectra) {
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user