File tree Expand file tree Collapse file tree 1 file changed +10
-5
lines changed
src/routes/(console)/organization-[organization]/domains/domain-[domain] Expand file tree Collapse file tree 1 file changed +10
-5
lines changed Original file line number Diff line number Diff line change 5
5
import { Link } from ' $lib/elements' ;
6
6
import type { Models } from ' @appwrite.io/console' ;
7
7
8
- let { domain, retryVerification }: { domain: Models .Domain ; retryVerification: () => void } =
9
- $props ();
8
+ let {
9
+ domain,
10
+ retryVerification
11
+ }: {
12
+ domain: Models .Domain ;
13
+ retryVerification: () => void ;
14
+ } = $props ();
10
15
11
- const isDomainVerified = domain .nameservers .toLowerCase () === ' appwrite' ;
16
+ const isDomainVerified = $derived ( domain .nameservers .toLowerCase () === ' appwrite' ) ;
12
17
13
- const metrics = [
18
+ const metrics = $derived ( [
14
19
{
15
20
value: isDomainVerified ? ' Verified' : ' Not verified' ,
16
21
description: ' Status'
40
45
value: domain ?.renewalPrice || ' -' ,
41
46
description: ' Renewal price'
42
47
}
43
- ];
48
+ ]) ;
44
49
</script >
45
50
46
51
<Layout .Grid gap ="m" columnsL ={6 } columns ={3 } columnsS ={2 } columnsXXS ={1 }>
You can’t perform that action at this time.
0 commit comments