File tree Expand file tree Collapse file tree
src/routes/(console)/organization-[organization]/domains/domain-[domain] Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1111 import { PaginationWithLimit } from ' $lib/components' ;
1212 import {
1313 ActionMenu ,
14+ Badge ,
1415 Button ,
1516 InteractiveText ,
1617 Icon ,
7980 {record .type }
8081 </Typography .Text >
8182 {:else if column .id === ' value' }
82- {@const isARecord = record .value === ' a.a.a. a' }
83+ {@const isARecord = record .type . toLowerCase () === ' a' }
8384 {@const isAAAARecord = record .type .toLowerCase () === ' aaaa' }
8485 {@const isCAARecord = record .type .toLowerCase () === ' caa' }
8586 {#if record .lock && (isARecord || isAAAARecord )}
8687 <!-- to align with InteractiveText -->
8788 <div style:padding-inline-start =" 4px" >
88- <Typography .Text >Served by Appwrite</Typography .Text >
89+ <Badge
90+ variant =" secondary"
91+ size =" s"
92+ content =" Served by Appwrite" />
8993 </div >
9094 {:else if record .lock && isCAARecord }
9195 <!-- to align with InteractiveText -->
9296 <div style:padding-inline-start =" 4px" >
93- <Typography .Text >Generated by Appwrite</Typography .Text >
97+ <Badge
98+ variant =" secondary"
99+ size =" s"
100+ content =" Generated by Appwrite" />
94101 </div >
95102 {:else }
96103 <InteractiveText variant ="copy" text ={record .value } isVisible />
You can’t perform that action at this time.
0 commit comments