missed fixes

This commit is contained in:
Arman committed 2025-03-09 14:50:40 +01:00
1 parent 1443f1a670
commit bbcb158348
2 files changed
+2 -2

No files matched your search

@@ -13,7 +13,7 @@
export let variant: 'primary' | 'secondary' = 'primary';
export let activeDeployment = false;
$: totalSize = humanFileSize((deployment?.buildSize ?? 0) + (deployment?.size ?? 0));
$: totalSize = humanFileSize((deployment?.buildSize ?? 0) + (deployment?.sourceSize ?? 0));
</script>
<Card padding="s" radius="m" {variant}>
@@ -32,7 +32,7 @@
let show = false;
const siteUrl = proxyRuleList.total > 0 ? proxyRuleList.rules[0].domain : undefined;
$: totalSize = humanFileSize((deployment?.buildSize ?? 0) + (deployment?.size ?? 0));
$: totalSize = humanFileSize((deployment?.buildSize ?? 0) + (deployment?.sourceSize ?? 0));
function getScreenshot(theme: string, deployment: Models.Deployment) {
if (theme === 'dark') {