From bb943b1bd43b557e9c9497b90c14c0327bf5d516 Mon Sep 17 00:00:00 2001 From: MuslemRahimi Date: Wed, 4 Sep 2024 17:01:09 +0200 Subject: [PATCH] ui fix --- src/lib/utils.ts | 2 ++ src/routes/stock-screener/[strategyId]/+page.svelte | 3 +-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/src/lib/utils.ts b/src/lib/utils.ts index f6d6adc4..25ee1d0a 100644 --- a/src/lib/utils.ts +++ b/src/lib/utils.ts @@ -784,6 +784,8 @@ export function getPartyForPoliticians(name) { "John Fetterman": "Democratic", "Sharice Davids": "Democratic", "Jake Auchincloss": "Democratic", + "John James": "Republican", + "Greg Landsman": "Democratic", }; // Combine first and last name to form the key diff --git a/src/routes/stock-screener/[strategyId]/+page.svelte b/src/routes/stock-screener/[strategyId]/+page.svelte index 63535fa0..829313de 100644 --- a/src/routes/stock-screener/[strategyId]/+page.svelte +++ b/src/routes/stock-screener/[strategyId]/+page.svelte @@ -851,7 +851,7 @@ async function popularStrategy(state: string) { {#if row?.rule !== 'analystRating'} - +
{/if} - {#each row?.step as newValue}