Show Details
From cace7e515fa408c00cccfff66d2cebe9b8a32c6f Mon Sep 17 00:00:00 2001
From: HMS17 <84345306+HMS17@users.noreply.github.com>
Date: Fri, 15 Apr 2022 13:38:22 -0400
Subject: [PATCH 5/6] Unit test fix
---
src/views/germplasm/GermplasmDetails.vue | 9 +++++----
1 file changed, 5 insertions(+), 4 deletions(-)
diff --git a/src/views/germplasm/GermplasmDetails.vue b/src/views/germplasm/GermplasmDetails.vue
index cfb253dd8..84450ff07 100644
--- a/src/views/germplasm/GermplasmDetails.vue
+++ b/src/views/germplasm/GermplasmDetails.vue
@@ -114,10 +114,7 @@ import { Result } from '@/breeding-insight/model/Result';
computed: {
...mapGetters([
'activeProgram'
- ]),
- germplasmUUID: function () {
- return this.$route.params.germplasmId;
- }
+ ])
},
data: () => ({Pedigree, GermplasmUtils})
})
@@ -131,6 +128,10 @@ export default class GermplasmDetails extends GermplasmBase {
this.getGermplasm();
}
+ get germplasmUUID(): string {
+ return this.$route.params.germplasmId;
+ }
+
@Watch('$route')
async getGermplasm() {
this.germplasmLoading = true;
From 3802cb23b74fdf9face66bf34abe2726945286f8 Mon Sep 17 00:00:00 2001
From: HMS17 <84345306+HMS17@users.noreply.github.com>
Date: Tue, 3 May 2022 11:04:13 -0400
Subject: [PATCH 6/6] [BI-1339] [BI-1375] QA fix and Code review fix
---
.env.development | 2 +-
src/components/germplasm/GermplasmLink.vue | 3 +++
src/views/germplasm/GermplasmTable.vue | 2 +-
vue.config.js | 1 +
4 files changed, 6 insertions(+), 2 deletions(-)
diff --git a/.env.development b/.env.development
index 9fabf4eb6..873a8c7dc 100644
--- a/.env.development
+++ b/.env.development
@@ -14,4 +14,4 @@ VUE_APP_BI_API_ROOT=${API_BASE_URL}
VUE_APP_LOG_LEVEL=${WEB_LOG_LEVEL}
# The reference source
-VUE_APP_BI_REFERENCE_SOURCE=breedinginsight.org
+VUE_APP_BI_REFERENCE_SOURCE=${BRAPI_REFERENCE_SOURCE}
diff --git a/src/components/germplasm/GermplasmLink.vue b/src/components/germplasm/GermplasmLink.vue
index 304c68cf0..a2ad619ed 100644
--- a/src/components/germplasm/GermplasmLink.vue
+++ b/src/components/germplasm/GermplasmLink.vue
@@ -19,6 +19,9 @@
{{ this.germplasmGID }}
+
+ {{ this.germplasmGID }}
+