From 0fbd482fcf69b69f1391e67af15bdd1315ad9b85 Mon Sep 17 00:00:00 2001 From: Nicholas Summers Date: Mon, 25 Nov 2024 15:55:52 -0500 Subject: [PATCH] Fix mask and update seed section with correct headings in section 5 2021 --- services/database/data/seed-local/seed-section.json | 8 ++++---- services/database/scripts/add-less-than-eleven-mask.js | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/services/database/data/seed-local/seed-section.json b/services/database/data/seed-local/seed-section.json index c4d90757..ba17eaca 100644 --- a/services/database/data/seed-local/seed-section.json +++ b/services/database/data/seed-local/seed-section.json @@ -32056,9 +32056,9 @@ ], "headers": [ { "contents": "" }, - { "contents": "FFY 2020" }, { "contents": "FFY 2021" }, - { "contents": "FFY 2022" } + { "contents": "FFY 2022" }, + { "contents": "FFY 2023" } ] }, "fieldset_type": "synthesized_table" @@ -32188,9 +32188,9 @@ ], "headers": [ { "contents": "" }, - { "contents": "FFY 2020" }, { "contents": "FFY 2021" }, - { "contents": "FFY 2022" } + { "contents": "FFY 2022" }, + { "contents": "FFY 2023" } ] }, "fieldset_type": "synthesized_table" diff --git a/services/database/scripts/add-less-than-eleven-mask.js b/services/database/scripts/add-less-than-eleven-mask.js index 9859830e..3c102714 100644 --- a/services/database/scripts/add-less-than-eleven-mask.js +++ b/services/database/scripts/add-less-than-eleven-mask.js @@ -878,7 +878,7 @@ async function handler() { function filter(items, sectionId) { return items.filter( (item) => - item.sectionId === sectionId && (item.year === 2023 || item.year === 2022) + item.sectionId === sectionId && (item.year === 2021 || item.year === 2020) ); }