From f66e1db0576c0f94c7483262ae1299dcfb398ef9 Mon Sep 17 00:00:00 2001 From: HMS17 Date: Tue, 23 Jun 2026 10:43:42 -0400 Subject: [PATCH] [BI-2850] - Add download options to new genotyping page --- src/breeding-insight/model/GenotypeImport.ts | 3 +++ src/components/VueFeatherIconPack.vue | 4 +++- src/views/genotyping/Genotyping.vue | 16 ++++++++++++++-- 3 files changed, 20 insertions(+), 3 deletions(-) diff --git a/src/breeding-insight/model/GenotypeImport.ts b/src/breeding-insight/model/GenotypeImport.ts index 02e2c8e9c..76b2147c1 100644 --- a/src/breeding-insight/model/GenotypeImport.ts +++ b/src/breeding-insight/model/GenotypeImport.ts @@ -16,6 +16,7 @@ */ export class GenotypeImport { + genotypeImportId?: string; sampleSubmissionId?: string; projectNameForSampleSubmission?: string; sampleSubmissionCreatedBy?: string; @@ -24,6 +25,7 @@ export class GenotypeImport { genotypingImportBy?: string; constructor({ + genotypeImportId, sampleSubmissionId, projectNameForSampleSubmission, sampleSubmissionCreatedBy, @@ -31,6 +33,7 @@ export class GenotypeImport { genotypingImportDate, genotypingImportBy }: GenotypeImport = {}) { + this.genotypeImportId = genotypeImportId; this.sampleSubmissionId = sampleSubmissionId; this.projectNameForSampleSubmission = projectNameForSampleSubmission; this.sampleSubmissionCreatedBy = sampleSubmissionCreatedBy; diff --git a/src/components/VueFeatherIconPack.vue b/src/components/VueFeatherIconPack.vue index 6453c108c..c23032293 100644 --- a/src/components/VueFeatherIconPack.vue +++ b/src/components/VueFeatherIconPack.vue @@ -27,6 +27,7 @@ import { ArrowDownIcon, ChevronLeftIcon, ChevronRightIcon, ChevronUpIcon, + DownloadIcon, LogOutIcon, UserIcon} from "vue-feather-icons"; @@ -39,7 +40,8 @@ export default { ArrowUpIcon, ArrowDownIcon, LogOutIcon, - UserIcon + UserIcon, + DownloadIcon }, props: { icon: [String, Array], diff --git a/src/views/genotyping/Genotyping.vue b/src/views/genotyping/Genotyping.vue index 17e21803d..061dfc875 100644 --- a/src/views/genotyping/Genotyping.vue +++ b/src/views/genotyping/Genotyping.vue @@ -110,6 +110,9 @@ > {{ displayValue(props.row.data.genotypingImportBy) }} + + Download +