Skip to content

Commit

Permalink
rename variable
Browse files Browse the repository at this point in the history
  • Loading branch information
HalcyonJAC committed Dec 9, 2024
1 parent d3ff0a9 commit 216b113
Showing 1 changed file with 32 additions and 32 deletions.
64 changes: 32 additions & 32 deletions src/views/Exercise/Reports/Diversity.vue
Original file line number Diff line number Diff line change
Expand Up @@ -327,7 +327,7 @@
Applications
</th>
<th
v-if="isNotApplied"
v-if="isNotAppliedOrShortlisting"
scope="col"
class="govuk-table__header govuk-table__header--numeric"
>
Expand All @@ -347,7 +347,7 @@
<Stat :stat="diversity[activeTab].gender.male" />
</td>
<td
v-if="isNotApplied"
v-if="isNotAppliedOrShortlisting"
class="govuk-table__cell govuk-table__cell--numeric govuk-!-font-weight-bold"
/>
</tr>
Expand All @@ -362,7 +362,7 @@
<Stat :stat="diversity[activeTab].gender.female" />
</td>
<td
v-if="isNotApplied"
v-if="isNotAppliedOrShortlisting"
class="govuk-table__cell govuk-table__cell--numeric govuk-!-font-weight-bold"
>
{{ showChange(diversity[activeTab].gender.female.change) }}
Expand All @@ -380,7 +380,7 @@
/>
</td>
<td
v-if="isNotApplied"
v-if="isNotAppliedOrShortlisting"
class="govuk-table__cell govuk-table__cell--numeric"
/>
</tr>
Expand All @@ -406,7 +406,7 @@
Applications
</th>
<th
v-if="isNotApplied"
v-if="isNotAppliedOrShortlisting"
scope="col"
class="govuk-table__header govuk-table__header--numeric"
>
Expand All @@ -426,7 +426,7 @@
<Stat :stat="diversity[activeTab].ethnicity.bame" />
</td>
<td
v-if="isNotApplied"
v-if="isNotAppliedOrShortlisting"
class="govuk-table__cell govuk-table__cell--numeric govuk-!-font-weight-bold"
>
{{ showChange(diversity[activeTab].ethnicity.bame.change) }}
Expand All @@ -443,7 +443,7 @@
<Stat :stat="diversity[activeTab].ethnicity.white" />
</td>
<td
v-if="isNotApplied"
v-if="isNotAppliedOrShortlisting"
class="govuk-table__cell govuk-table__cell--numeric govuk-!-font-weight-bold"
/>
</tr>
Expand All @@ -459,7 +459,7 @@
/>
</td>
<td
v-if="isNotApplied"
v-if="isNotAppliedOrShortlisting"
class="govuk-table__cell govuk-table__cell--numeric"
/>
</tr>
Expand All @@ -485,7 +485,7 @@
Applications
</th>
<th
v-if="isNotApplied"
v-if="isNotAppliedOrShortlisting"
scope="col"
class="govuk-table__header govuk-table__header--numeric"
>
Expand All @@ -502,7 +502,7 @@
<Stat :stat="diversity[activeTab].disability.yes" />
</td>
<td
v-if="isNotApplied"
v-if="isNotAppliedOrShortlisting"
class="govuk-table__cell govuk-table__cell--numeric govuk-!-font-weight-bold"
>
{{ showChange(diversity[activeTab].disability.yes.change) }}
Expand All @@ -516,7 +516,7 @@
<Stat :stat="diversity[activeTab].disability.no" />
</td>
<td
v-if="isNotApplied"
v-if="isNotAppliedOrShortlisting"
class="govuk-table__cell govuk-table__cell--numeric govuk-!-font-weight-bold"
/>
</tr>
Expand All @@ -532,7 +532,7 @@
/>
</td>
<td
v-if="isNotApplied"
v-if="isNotAppliedOrShortlisting"
class="govuk-table__cell govuk-table__cell--numeric"
/>
</tr>
Expand All @@ -558,7 +558,7 @@
Applications
</th>
<th
v-if="isNotApplied"
v-if="isNotAppliedOrShortlisting"
scope="col"
class="govuk-table__header govuk-table__header--numeric"
>
Expand All @@ -578,7 +578,7 @@
<Stat :stat="diversity[activeTab].professionalBackground.barrister" />
</td>
<td
v-if="isNotApplied"
v-if="isNotAppliedOrShortlisting"
class="govuk-table__cell govuk-table__cell--numeric govuk-!-font-weight-bold"
/>
</tr>
Expand All @@ -590,7 +590,7 @@
<Stat :stat="diversity[activeTab].professionalBackground.cilex" />
</td>
<td
v-if="isNotApplied"
v-if="isNotAppliedOrShortlisting"
class="govuk-table__cell govuk-table__cell--numeric govuk-!-font-weight-bold"
>
{{ showChange(diversity[activeTab].professionalBackground.cilex.change) }}
Expand All @@ -604,7 +604,7 @@
<Stat :stat="diversity[activeTab].professionalBackground.solicitor" />
</td>
<td
v-if="isNotApplied"
v-if="isNotAppliedOrShortlisting"
class="govuk-table__cell govuk-table__cell--numeric govuk-!-font-weight-bold"
>
{{ showChange(diversity[activeTab].professionalBackground.solicitor.change) }}
Expand All @@ -619,7 +619,7 @@
<Stat :stat="diversity[activeTab].professionalBackground.other" />
</td>
<td
v-if="isNotApplied"
v-if="isNotAppliedOrShortlisting"
class="govuk-table__cell govuk-table__cell--numeric govuk-!-font-weight-bold"
/>
</tr>
Expand All @@ -636,7 +636,7 @@
/>
</td>
<td
v-if="isNotApplied"
v-if="isNotAppliedOrShortlisting"
class="govuk-table__cell govuk-table__cell--numeric"
/>
</tr>
Expand Down Expand Up @@ -665,7 +665,7 @@
Applications
</th>
<th
v-if="isNotApplied"
v-if="isNotAppliedOrShortlisting"
scope="col"
class="govuk-table__header govuk-table__header--numeric"
>
Expand All @@ -682,7 +682,7 @@
<Stat :stat="diversity[activeTab].attendedUKStateSchool.attendedUKStateSchool" />
</td>
<td
v-if="isNotApplied"
v-if="isNotAppliedOrShortlisting"
class="govuk-table__cell govuk-table__cell--numeric govuk-!-font-weight-bold"
>
{{ showChange(diversity[activeTab].attendedUKStateSchool.attendedUKStateSchool.change) }}
Expand All @@ -700,7 +700,7 @@
/>
</td>
<td
v-if="isNotApplied"
v-if="isNotAppliedOrShortlisting"
class="govuk-table__cell govuk-table__cell--numeric"
/>
</tr>
Expand All @@ -727,7 +727,7 @@
Applications
</th>
<th
v-if="isNotApplied"
v-if="isNotAppliedOrShortlisting"
scope="col"
class="govuk-table__header govuk-table__header--numeric"
>
Expand All @@ -744,7 +744,7 @@
<Stat :stat="diversity[activeTab].firstGenerationUniversity.firstGenerationUniversity" />
</td>
<td
v-if="isNotApplied"
v-if="isNotAppliedOrShortlisting"
class="govuk-table__cell govuk-table__cell--numeric govuk-!-font-weight-bold"
/>
</tr>
Expand All @@ -760,7 +760,7 @@
/>
</td>
<td
v-if="isNotApplied"
v-if="isNotAppliedOrShortlisting"
class="govuk-table__cell govuk-table__cell--numeric"
/>
</tr>
Expand Down Expand Up @@ -788,7 +788,7 @@
Applications
</th>
<th
v-if="isNotApplied"
v-if="isNotAppliedOrShortlisting"
scope="col"
class="govuk-table__header govuk-table__header--numeric"
>
Expand All @@ -805,7 +805,7 @@
<Stat :stat="diversity[activeTab].parentsNotAttendedUniversity.parentsNotAttendedUniversity" />
</td>
<td
v-if="isNotApplied"
v-if="isNotAppliedOrShortlisting"
class="govuk-table__cell govuk-table__cell--numeric govuk-!-font-weight-bold"
>
{{ showChange(diversity[activeTab].parentsNotAttendedUniversity.parentsNotAttendedUniversity.change) }}
Expand All @@ -823,7 +823,7 @@
/>
</td>
<td
v-if="isNotApplied"
v-if="isNotAppliedOrShortlisting"
class="govuk-table__cell govuk-table__cell--numeric"
/>
</tr>
Expand All @@ -850,7 +850,7 @@
Applications
</th>
<th
v-if="isNotApplied"
v-if="isNotAppliedOrShortlisting"
scope="col"
class="govuk-table__header govuk-table__header--numeric"
>
Expand All @@ -873,7 +873,7 @@
<Stat :stat="diversity[activeTab].emp.applied" />
</td>
<td
v-if="isNotApplied"
v-if="isNotAppliedOrShortlisting"
class="govuk-table__cell govuk-table__cell--numeric govuk-!-font-weight-bold"
/>
</tr>
Expand All @@ -888,7 +888,7 @@
<Stat :stat="diversity[activeTab].emp.ethnicity" />
</td>
<td
v-if="isNotApplied"
v-if="isNotAppliedOrShortlisting"
class="govuk-table__cell govuk-table__cell--numeric govuk-!-font-weight-bold"
/>
</tr>
Expand All @@ -903,7 +903,7 @@
<Stat :stat="diversity[activeTab].emp.gender" />
</td>
<td
v-if="isNotApplied"
v-if="isNotAppliedOrShortlisting"
class="govuk-table__cell govuk-table__cell--numeric govuk-!-font-weight-bold"
/>
</tr>
Expand Down Expand Up @@ -1044,7 +1044,7 @@ export default {
}
return '';
},
isNotApplied() {
isNotAppliedOrShortlisting() {
return ![EXERCISE_STAGE.APPLIED, EXERCISE_STAGE.SHORTLISTING].includes(this.activeTab);
},
},
Expand Down

0 comments on commit 216b113

Please sign in to comment.