Skip to content

Commit a092bfa

Browse files
committed
fix: use department in place of duplicate team name
Team name data was a duplicate for department. Renames some things so its value is coming from the department metadata and the team-name metadata is removed.
1 parent 906e6cb commit a092bfa

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

scripts/helpers/buildListingDetails.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ export const buildListingDetails = (metadata) => {
5454
metadata.positionType,
5555
metadata.reqNumber,
5656
metadata.discipline,
57-
metadata.teamName
57+
metadata.department
5858
];
5959
const linkToApply = metadata.jobListing.content;
6060
const jobTitle = metadata.jobTitle.content;

scripts/helpers/getListingMetadata.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -27,9 +27,9 @@ export const getListingMetadata = () => {
2727
label: "Discipline",
2828
content: document.head.querySelector('meta[name="discipline"]')?.content
2929
},
30-
teamName: {
31-
label: "Team name",
32-
content: document.head.querySelector('meta[name="team-name"]')?.content
30+
department: {
31+
label: "Department",
32+
content: document.head.querySelector('meta[name="department"]')?.content
3333
},
3434
jobListing: {
3535
label: "Job listing",

0 commit comments

Comments
 (0)