From 394c41ec41ec4be2b71650704237d1bee98ca01b Mon Sep 17 00:00:00 2001 From: Darshan Date: Mon, 26 May 2025 19:04:34 +0530 Subject: [PATCH 1/3] fix: domain status. --- .../domains/domain-[domain]/domainMetrics.svelte | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/routes/(console)/organization-[organization]/domains/domain-[domain]/domainMetrics.svelte b/src/routes/(console)/organization-[organization]/domains/domain-[domain]/domainMetrics.svelte index a83471dadf..d22b6ed7ee 100644 --- a/src/routes/(console)/organization-[organization]/domains/domain-[domain]/domainMetrics.svelte +++ b/src/routes/(console)/organization-[organization]/domains/domain-[domain]/domainMetrics.svelte @@ -4,11 +4,11 @@ import { toLocaleDate } from '$lib/helpers/date'; import { Layout, Status } from '@appwrite.io/pink-svelte'; - export let domain: Domain; + let { domain }: { domain: Domain } = $props(); - $: isDomainVerified = domain.nameservers.toLocaleLowerCase() === 'appwrite'; + const isDomainVerified = domain.nameservers.toLowerCase() === 'appwrite'; - let metrics = [ + const metrics = [ { value: isDomainVerified ? 'Verified' : 'Not verified', description: 'Status' @@ -18,11 +18,11 @@ description: 'Registrar' }, { - value: domain?.nameservers ? domain?.nameservers : '-', + value: domain?.nameservers || '-', description: 'Nameservers' }, { - value: domain?.expiry ? toLocaleDate(domain?.expiry) : '-', + value: domain?.expiry ? toLocaleDate(domain.expiry) : '-', description: 'Expiry date' }, { From 64c55e944f9b52f49521643abbe83205e78e6bef Mon Sep 17 00:00:00 2001 From: Darshan Date: Mon, 26 May 2025 19:04:39 +0530 Subject: [PATCH 2/3] bump: deps. --- package.json | 2 +- pnpm-lock.yaml | 10 +++++----- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/package.json b/package.json index 0b7be5b72f..5992460a13 100644 --- a/package.json +++ b/package.json @@ -27,7 +27,7 @@ "@appwrite.io/pink-icons": "0.25.0", "@appwrite.io/pink-icons-svelte": "^2.0.0-RC.1", "@appwrite.io/pink-legacy": "^1.0.3", - "@appwrite.io/pink-svelte": "https://try-module.cloud/module/@appwrite/@appwrite.io/pink-svelte@0043a39", + "@appwrite.io/pink-svelte": "https://try-module.cloud/module/@appwrite/@appwrite.io/pink-svelte@0cc439f", "@popperjs/core": "^2.11.8", "@sentry/sveltekit": "^8.38.0", "@stripe/stripe-js": "^3.5.0", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 5a8ef1bd97..20316f694f 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -27,8 +27,8 @@ importers: specifier: ^1.0.3 version: 1.0.3 '@appwrite.io/pink-svelte': - specifier: https://try-module.cloud/module/@appwrite/@appwrite.io/pink-svelte@0043a39 - version: https://try-module.cloud/module/@appwrite/%40appwrite.io%2Fpink-svelte@0043a39(svelte@5.25.3) + specifier: https://try-module.cloud/module/@appwrite/@appwrite.io/pink-svelte@0cc439f + version: https://try-module.cloud/module/@appwrite/%40appwrite.io%2Fpink-svelte@0cc439f(svelte@5.25.3) '@popperjs/core': specifier: ^2.11.8 version: 2.11.8 @@ -281,8 +281,8 @@ packages: '@appwrite.io/pink-legacy@1.0.3': resolution: {integrity: sha512-GGde5fmPhs+s6/3aFeMPc/kKADG/gTFkYQSy6oBN8pK0y0XNCLrZZgBv+EBbdhwdtqVEWXa0X85Mv9w7jcIlwQ==} - '@appwrite.io/pink-svelte@https://try-module.cloud/module/@appwrite/%40appwrite.io%2Fpink-svelte@0043a39': - resolution: {tarball: https://try-module.cloud/module/@appwrite/%40appwrite.io%2Fpink-svelte@0043a39} + '@appwrite.io/pink-svelte@https://try-module.cloud/module/@appwrite/%40appwrite.io%2Fpink-svelte@0cc439f': + resolution: {tarball: https://try-module.cloud/module/@appwrite/%40appwrite.io%2Fpink-svelte@0cc439f} version: 2.0.0-RC.2 peerDependencies: svelte: ^4.0.0 @@ -3644,7 +3644,7 @@ snapshots: '@appwrite.io/pink-icons': 1.0.0 the-new-css-reset: 1.11.3 - '@appwrite.io/pink-svelte@https://try-module.cloud/module/@appwrite/%40appwrite.io%2Fpink-svelte@0043a39(svelte@5.25.3)': + '@appwrite.io/pink-svelte@https://try-module.cloud/module/@appwrite/%40appwrite.io%2Fpink-svelte@0cc439f(svelte@5.25.3)': dependencies: '@appwrite.io/pink-icons-svelte': 2.0.0-RC.1(svelte@5.25.3) '@floating-ui/dom': 1.6.13 From b0365fa050a61b143ad61d16f1986b8d5b27e283 Mon Sep 17 00:00:00 2001 From: Darshan Date: Mon, 26 May 2025 19:05:40 +0530 Subject: [PATCH 3/3] fix: casing. --- .../domains/domain-[domain]/domainMetrics.svelte | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/routes/(console)/organization-[organization]/domains/domain-[domain]/domainMetrics.svelte b/src/routes/(console)/organization-[organization]/domains/domain-[domain]/domainMetrics.svelte index d22b6ed7ee..2189de9a1c 100644 --- a/src/routes/(console)/organization-[organization]/domains/domain-[domain]/domainMetrics.svelte +++ b/src/routes/(console)/organization-[organization]/domains/domain-[domain]/domainMetrics.svelte @@ -6,7 +6,7 @@ let { domain }: { domain: Domain } = $props(); - const isDomainVerified = domain.nameservers.toLowerCase() === 'appwrite'; + const isDomainVerified = domain.nameservers.toLocaleLowerCase() === 'appwrite'; const metrics = [ {