bugfixing

This commit is contained in:
MuslemRahimi 2025-04-15 14:57:13 +02:00
parent 08ac69f9c2
commit c0b79e2cfa
2 changed files with 4 additions and 2 deletions

View File

@ -16,7 +16,7 @@
); );
</script> </script>
<section class="w-full overflow-hidden m-auto"> <section class="w-full overflow-hidden m-auto min-h-screen">
<Infobox <Infobox
text={`The industry has a total of ${rawData?.length} stocks, with a combined market text={`The industry has a total of ${rawData?.length} stocks, with a combined market
cap of ${abbreviateNumber(totalMarketCap)} and a total revenue of ${abbreviateNumber( cap of ${abbreviateNumber(totalMarketCap)} and a total revenue of ${abbreviateNumber(

View File

@ -737,10 +737,12 @@
$: { $: {
if (shouldUpdate) { if (shouldUpdate) {
isLoaded = false;
shouldUpdate = false; shouldUpdate = false;
config = plotData(); config = plotData();
userStrategy = [...userStrategy]; userStrategy = [...userStrategy];
isLoaded = true;
} }
} }
@ -1197,7 +1199,7 @@
</table> </table>
</div> </div>
{#if config} {#if isLoaded && config}
<div <div
class="shadow-sm mt-5 border border-gray-300 dark:border-gray-800 rounded" class="shadow-sm mt-5 border border-gray-300 dark:border-gray-800 rounded"
use:highcharts={config} use:highcharts={config}