diff --git a/src/components/experiments/ExperimentsObservationsTable.vue b/src/components/experiments/ExperimentsObservationsTable.vue index aac774796..aee01b27d 100644 --- a/src/components/experiments/ExperimentsObservationsTable.vue +++ b/src/components/experiments/ExperimentsObservationsTable.vue @@ -33,7 +33,15 @@ v-on:search="initSearch" > - + {{ props.row.data.trialName }} diff --git a/src/router/index.ts b/src/router/index.ts index 0a3e44295..6d2e7e011 100644 --- a/src/router/index.ts +++ b/src/router/index.ts @@ -359,7 +359,7 @@ const routes = [ ] }, { - path: '/programs/:programId/experiment/:experimentId', + path: '/programs/:programId/experiment/:experimentId/trialDbId/:trialDbId', name: 'experiment-details', meta: { title: 'Experiment Detail', diff --git a/src/views/experiments-and-observations/ExperimentDetails.vue b/src/views/experiments-and-observations/ExperimentDetails.vue index c0286731f..f61c2df14 100644 --- a/src/views/experiments-and-observations/ExperimentDetails.vue +++ b/src/views/experiments-and-observations/ExperimentDetails.vue @@ -34,7 +34,7 @@ @@ -108,11 +108,14 @@ export default class ExperimentDetails extends TrialsAndStudiesBase { this.getExperiment(); } - get experimentUUID(): string { return this.$route.params.experimentId; } + get trialDbId(): string { + return this.$route.params.trialDbId; + } + get userName(): string { if( !this.experiment.additionalInfo ){return '';} if( !this.experiment.additionalInfo.createdBy){return '';}