added sample and entry count to csv import

This commit is contained in:
Timo 2021-04-07 22:59:32 +03:00
parent e508ce83ca
commit c57afc6cd3

View File

@ -52,7 +52,7 @@ export class FileAttributesCsvImportDialogComponent implements OnInit {
getEntries(field: any) {
if (this.parseResult?.data) {
let count = 0;
for (let entry of this.parseResult.data) {
for (const entry of this.parseResult.data) {
if (entry[field]) {
count++;
}