bugfixing
This commit is contained in:
parent
08ac69f9c2
commit
c0b79e2cfa
@ -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(
|
||||||
|
|||||||
@ -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}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user