From b104fd891547054d5cef9cb49e2fa008a400c4a9 Mon Sep 17 00:00:00 2001 From: Darshan Date: Thu, 2 Jan 2025 13:55:46 +0530 Subject: [PATCH] address comment. --- .../project-[project]/sites/(components)/siteCard.svelte | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/routes/(console)/project-[project]/sites/(components)/siteCard.svelte b/src/routes/(console)/project-[project]/sites/(components)/siteCard.svelte index 52390c186f..b763cae618 100644 --- a/src/routes/(console)/project-[project]/sites/(components)/siteCard.svelte +++ b/src/routes/(console)/project-[project]/sites/(components)/siteCard.svelte @@ -18,7 +18,7 @@ let show = false; const siteUrl = - deployment.domain ?? (proxyRuleList.total ? proxyRuleList.rules[0].domain : undefined); + deployment.domain ?? (proxyRuleList.total > 0 ? proxyRuleList.rules[0].domain : undefined); $: totalSize = humanFileSize((deployment?.buildSize ?? 0) + (deployment?.size ?? 0));