Skip to content

Commit 501479b

Browse files
VIA-618 EO & SB Move flu to top of child vaccines section.
1 parent bf707bd commit 501479b

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

e2e/general/navigation.spec.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,7 @@ test.describe("Navigation", () => {
4040
{ section: AgeSectionTestId.PREGNANCY, linkText: "RSV in pregnancy", pageName: "rsv-pregnancy" },
4141
{ section: AgeSectionTestId.PREGNANCY, linkText: "Flu in pregnancy", pageName: "flu-in-pregnancy" },
4242

43+
{ section: AgeSectionTestId.CHILDREN, linkText: "Flu for children aged 2 to 3", pageName: "flu-for-children" },
4344
{ section: AgeSectionTestId.CHILDREN, linkText: "Td/IPV (3-in-1 teenage booster)", pageName: "td-ipv" },
4445
{ section: AgeSectionTestId.CHILDREN, linkText: "MenACWY", pageName: "menacwy" },
4546
{ section: AgeSectionTestId.CHILDREN, linkText: "HPV", pageName: "hpv" },
@@ -48,7 +49,6 @@ test.describe("Navigation", () => {
4849
{ section: AgeSectionTestId.CHILDREN, linkText: "MenB", pageName: "menb-children" },
4950
{ section: AgeSectionTestId.CHILDREN, linkText: "Pneumococcal", pageName: "pneumococcal" },
5051
{ section: AgeSectionTestId.CHILDREN, linkText: "Hib/MenC", pageName: "hib-menc" },
51-
{ section: AgeSectionTestId.CHILDREN, linkText: "Flu for children aged 2 to 3", pageName: "flu-for-children" },
5252

5353
{ section: AgeSectionTestId.BABIES, linkText: "6-in-1", pageName: "6-in-1" },
5454
{ section: AgeSectionTestId.BABIES, linkText: "Rotavirus", pageName: "rotavirus" },

src/models/vaccine.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -367,13 +367,13 @@ const adultVaccines: VaccineType[] = [
367367
VaccineType.SHINGLES,
368368
VaccineType.PNEUMOCOCCAL,
369369
];
370-
371370
const pregnancyVaccines: VaccineType[] = [
372371
VaccineType.WHOOPING_COUGH,
373372
VaccineType.RSV_PREGNANCY,
374373
VaccineType.FLU_IN_PREGNANCY,
375374
];
376375
const childVaccines: VaccineType[] = [
376+
VaccineType.FLU_FOR_CHILDREN,
377377
VaccineType.TD_IPV_3_IN_1,
378378
VaccineType.MENACWY,
379379
VaccineType.HPV,
@@ -382,7 +382,6 @@ const childVaccines: VaccineType[] = [
382382
VaccineType.MENB_CHILDREN,
383383
VaccineType.PNEUMOCOCCAL,
384384
VaccineType.HIB_MENC,
385-
VaccineType.FLU_FOR_CHILDREN,
386385
];
387386
const babyVaccines: VaccineType[] = [
388387
VaccineType.VACCINE_6_IN_1,

0 commit comments

Comments
 (0)