diff --git a/site/src/components/intake/steps/HistoryStep.astro b/site/src/components/intake/steps/HistoryStep.astro index 78095a5..da108ee 100644 --- a/site/src/components/intake/steps/HistoryStep.astro +++ b/site/src/components/intake/steps/HistoryStep.astro @@ -38,6 +38,7 @@ diff --git a/site/src/components/intake/steps/RevenueStep.astro b/site/src/components/intake/steps/RevenueStep.astro index cf527a1..1960489 100644 --- a/site/src/components/intake/steps/RevenueStep.astro +++ b/site/src/components/intake/steps/RevenueStep.astro @@ -123,6 +123,8 @@ import { SAFE_HARBOR_PCT_BY_YEAR, SAFE_HARBOR_DISALLOWED_CATEGORIES } from "../. import { SAFE_HARBOR_PCT_BY_YEAR, SAFE_HARBOR_DISALLOWED_CATEGORIES } from "../../../lib/fcc_constants"; import { fetchSafeHarborRecommendation, recommendationBadge } from "../../../lib/safe_harbor_recommender"; + if (document.querySelector('[data-slug="revenue"], [data-step="revenue"]')) { + // Line definitions — subset of LINE_FILL_MAP. key matches the // source_key used by form_499a.py. type LineDef = { key: string; label: string; line_no: string; desc: string; categories: string[] | null; }; @@ -372,4 +374,5 @@ import { SAFE_HARBOR_PCT_BY_YEAR, SAFE_HARBOR_DISALLOWED_CATEGORIES } from "../. const st = PW.get(); PW.set({ entity: { ...st.entity, safe_harbor_election: election } }); }); + }