mirror of
https://github.com/appwrite/console.git
synced 2026-06-06 19:27:48 +00:00
fix: qr on sites.
This commit is contained in:
@@ -17,6 +17,8 @@
|
||||
export let proxyRuleList: Models.ProxyRuleList = { total: 0, rules: [] };
|
||||
|
||||
let show = false;
|
||||
const siteUrl =
|
||||
deployment.domain ?? (proxyRuleList.total ? proxyRuleList.rules[0].domain : undefined);
|
||||
|
||||
$: totalSize = humanFileSize((deployment?.buildSize ?? 0) + (deployment?.size ?? 0));
|
||||
</script>
|
||||
@@ -112,6 +114,6 @@
|
||||
</Layout.Stack>
|
||||
</Card>
|
||||
|
||||
{#if show && deployment.domain}
|
||||
<OpenOnMobileModal bind:show siteURL={deployment.domain} />
|
||||
{#if show && siteUrl}
|
||||
<OpenOnMobileModal bind:show siteURL={siteUrl} />
|
||||
{/if}
|
||||
|
||||
Reference in New Issue
Block a user