From de19dc7c7d15dadf0889f918cb9e26af242c60a0 Mon Sep 17 00:00:00 2001 From: midblep Date: Tue, 24 May 2022 19:28:31 +0200 Subject: [PATCH] fix price on load --- src/lib/calculator/Calculator.svelte | 1 + 1 file changed, 1 insertion(+) diff --git a/src/lib/calculator/Calculator.svelte b/src/lib/calculator/Calculator.svelte index 007655a..f3ad183 100644 --- a/src/lib/calculator/Calculator.svelte +++ b/src/lib/calculator/Calculator.svelte @@ -26,6 +26,7 @@ urlParams.forEach((value, key) => { if(key == "commissions") { commissions = JSON.parse(value); + update_price(commissions[0]); } }); if(commissions.length == 0) base();