diff --git a/src/components/Candidates/EqualityAndDiversity.vue b/src/components/Candidates/EqualityAndDiversity.vue index 6217dd046..7534acc84 100644 --- a/src/components/Candidates/EqualityAndDiversity.vue +++ b/src/components/Candidates/EqualityAndDiversity.vue @@ -304,6 +304,20 @@ export default { hasData() { return Object.keys(this.data).length > 0; }, + ethnicGroupDetails() { + switch(this.data.ethnicGroup) { + case 'other-asian': + return this.data.otherEthnicGroupAsianDetails; + case 'other-white': + return this.data.otherEthnicGroupWhiteDetails; + case 'other-black': + return this.data.otherEthnicGroupBlackDetails; + case 'other-mixed': + return this.data.otherEthnicGroupMixedDetails; + default: + return this.data.otherEthnicGroupDetails; + } + }, }, methods: { preferNotToSay(field) { diff --git a/src/views/Candidates/CandidatesView.vue b/src/views/Candidates/CandidatesView.vue index e94047608..e2f52917a 100644 --- a/src/views/Candidates/CandidatesView.vue +++ b/src/views/Candidates/CandidatesView.vue @@ -3,7 +3,7 @@

- Candidate: {{ fullName }} + Candidate: {{ myFullName }}

- {{ application.personalDetails.fullName }} + + {{ application.personalDetails.fullName }} +
diff --git a/src/views/Exercises/Show/Applications.vue b/src/views/Exercises/Show/Applications.vue index 9b71a6224..be62502c7 100644 --- a/src/views/Exercises/Show/Applications.vue +++ b/src/views/Exercises/Show/Applications.vue @@ -56,18 +56,19 @@ - {{ application.personalDetails.fullName }} + + + {{ application.personalDetails.fullName }} + + - - {{ application.status }} - + {{ application.status }}