Skip to content

Commit

Permalink
fix download history error when download includes context column
Browse files Browse the repository at this point in the history
  • Loading branch information
lukavdplas committed Jul 18, 2024
1 parent 60eb846 commit b99f8eb
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -72,8 +72,8 @@ export class DownloadHistoryComponent extends HistoryDirective implements OnInit
parameters.fields : [parameters[0].field_name];
const corpus = findByName(this.corpora, download.corpus);
const fields = fieldNames.map(fieldName =>
findByName(corpus.fields, fieldName).displayName
);
findByName(corpus.fields, fieldName)?.displayName
).filter(_.negate(_.isUndefined));
return _.join(fields, ', ');
}

Expand Down

0 comments on commit b99f8eb

Please sign in to comment.