From 5a59e9cc010721f4a6cc4f188a3faafcdc4abd50 Mon Sep 17 00:00:00 2001 From: Chad Kruse <314653+chadokruse@users.noreply.github.com> Date: Tue, 14 Jan 2025 22:45:28 -0600 Subject: [PATCH] Fix amended filing definition --- apps/legacy/src/lib/components/Profile.svelte | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/legacy/src/lib/components/Profile.svelte b/apps/legacy/src/lib/components/Profile.svelte index fc8fe92..80f57e9 100644 --- a/apps/legacy/src/lib/components/Profile.svelte +++ b/apps/legacy/src/lib/components/Profile.svelte @@ -33,7 +33,7 @@ const orgFinancialStats = $derived(page.financial_stats); - const displayedFilingIsAmendment = $derived(page.filings.slice(0, 7).map((f) => f.filing_is_amendment)); + const displayedFilingIsAmendment = $derived(page.filings.some((f) => f.filing_is_amendment)); let algolia = $derived(() => { // Ensure profiles with only 2009, 2010, 2011, or 2012 grants do NOT use Algolia