From c7a4b8155a48c714dc9c999cce00023db9d926c5 Mon Sep 17 00:00:00 2001 From: Pieter Verschaffelt Date: Tue, 11 Oct 2022 15:46:50 +0200 Subject: [PATCH] The ExperimentSummaryDialog works again now --- src/components/navigation-drawers/AssayItem.vue | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/components/navigation-drawers/AssayItem.vue b/src/components/navigation-drawers/AssayItem.vue index 4049975..53f529d 100644 --- a/src/components/navigation-drawers/AssayItem.vue +++ b/src/components/navigation-drawers/AssayItem.vue @@ -192,7 +192,6 @@ export default class AssayItem extends Vue { @Prop({ required: false, default: false }) private value: boolean; - private peptideTrust: PeptideTrust = null; private experimentSummaryActive = false; private removeConfirmationActive = false; private isEditingAssayName = false; @@ -237,6 +236,10 @@ export default class AssayItem extends Vue { // return assayData?.analysisMetaData.status === "cancelled"; } + get peptideTrust(): PeptideTrust { + return this.$store.getters.assayData(this.assay)?.originalData?.trust || null; + } + private cancelAnalysis() { this.$store.dispatch("cancelAnalysis", this.assay); }