mirror of
				https://github.com/Fabio286/antares.git
				synced 2025-06-05 21:59:22 +02:00 
			
		
		
		
	fix: removed internal row _id from exported files
This commit is contained in:
		| @@ -359,9 +359,14 @@ export default { | |||||||
|       downloadTable (format, filename) { |       downloadTable (format, filename) { | ||||||
|          if (!this.sortedResults) return; |          if (!this.sortedResults) return; | ||||||
|  |  | ||||||
|  |          const rows = this.sortedResults.map(row => { | ||||||
|  |             delete row._id; | ||||||
|  |             return row; | ||||||
|  |          }); | ||||||
|  |  | ||||||
|          arrayToFile({ |          arrayToFile({ | ||||||
|             type: format, |             type: format, | ||||||
|             content: this.sortedResults, |             content: rows, | ||||||
|             filename |             filename | ||||||
|          }); |          }); | ||||||
|       } |       } | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user