From f9c27f9bf66d03bb41ecc12c2dfbc0e8021553c5 Mon Sep 17 00:00:00 2001 From: MonikaFu Date: Fri, 10 Jan 2025 14:56:19 +0100 Subject: [PATCH] Company-level: update plots and selectors after go --- src/routes/company_view.svelte | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/src/routes/company_view.svelte b/src/routes/company_view.svelte index 251f9b5..450de55 100644 --- a/src/routes/company_view.svelte +++ b/src/routes/company_view.svelte @@ -281,6 +281,9 @@ fetchExposureStats(); if (checkDataAvailability()) { showAnalysisHideAlert(); + updateScenarioSourceSelector(); + updateScenarioSelector(); + updateAllocationMethodSelector(); fetchCompanyBubble(); fetchCompanyTechmix(); } else { @@ -334,13 +337,7 @@ setValuesSectorSelectors(); setValuesAssetClassSelector(); - updateScenarioSourceSelector(); - updateScenarioSelector(); - updateAllocationMethodSelector(); addEventListeners(); - fetchExposureStats(); - fetchCompanyBubble(); - fetchCompanyTechmix(); });