mirror of
https://github.com/appwrite/console.git
synced 2026-06-06 19:27:48 +00:00
fix: overview screen
This commit is contained in:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user