BLAST search: fix
@@ -226,9 +226,11 @@ export default class ngbBlastSearchPanelController extends baseController {
}
async blastSearchLoadingFinished() {
+ // todo: we need to save this data and pass it to the Whole Genome View (if requested)
+ const data = (await this.ngbBlastSearchService.getBlastSearchResults()) || [];
this.blastSearchEmptyResult = null;
this.gridOptions.columnDefs = this.ngbBlastSearchService.getBlastSearchGridColumns();
- this.gridOptions.data = await this.ngbBlastSearchService.getBlastSearchResults();
+ this.gridOptions.data = data.slice(0, 50);
this.readSequence = this.ngbBlastSearchService.readSequence;
if (!this._sequense) {
this.sequense = this.readSequence;
