fix: overview screen

This commit is contained in:
Arman
2025-01-29 18:52:18 +01:00
parent d2c3470d9e
commit 3d47f64d95
2 changed files with 11 additions and 2 deletions
@@ -19,6 +19,7 @@
import { IconDotsHorizontal, IconGlobeAlt, IconRefresh } from '@appwrite.io/pink-icons-svelte';
import RedeployModal from '../redeployModal.svelte';
import PromoteModal from '../promoteModal.svelte';
import { Card } from '$lib/components';
export let site: Models.Site;
export let activeDeployment: Models.Deployment;
@@ -125,7 +126,9 @@
{/if}
</Layout.Stack>
{:else}
hi
<Card>
<Typography.Text>No deployments exist</Typography.Text>
</Card>
{/if}
{#if selectedDeployment && showRedeploy}
@@ -5,7 +5,7 @@
import OpenOnMobileModal from '../(components)/openOnMobileModal.svelte';
import { timeFromNow } from '$lib/helpers/date';
import { IconExternalLink, IconQrcode } from '@appwrite.io/pink-icons-svelte';
import { protocol } from '$routes/(console)/store';
import { consoleVariables, protocol } from '$routes/(console)/store';
import { type Models } from '@appwrite.io/console';
import { Link } from '$lib/elements';
import { Button } from '$lib/elements/forms';
@@ -15,6 +15,12 @@
let showDomainQR = false;
let selectedDomainURL: string;
$: hasCustomDomain = proxyRuleList?.total
? proxyRuleList.rules.some((rule) =>
rule.domain.includes($consoleVariables._APP_DOMAIN_TARGET)
)
: false;
</script>
<Layout.Stack>