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- {#if isARecord }
83+ {@const isARecord = record .type .toLowerCase () === ' a' }
84+ {@const isAAAARecord = record .type .toLowerCase () === ' aaaa' }
85+ {@const isCAARecord = record .type .toLowerCase () === ' caa' }
86+ {#if record .lock && (isARecord || isAAAARecord )}
8487 <!-- to align with InteractiveText -->
8588 <div style:padding-inline-start =" 4px" >
86- <Typography .Text >Served by Appwrite</Typography .Text >
89+ <Badge
90+ variant =" secondary"
91+ size =" s"
92+ content =" Served by Appwrite" />
93+ </div >
94+ {:else if record .lock && isCAARecord }
95+ <!-- to align with InteractiveText -->
96+ <div style:padding-inline-start =" 4px" >
97+ <Badge
98+ variant =" secondary"
99+ size =" s"
100+ content =" Generated by Appwrite" />
87101 </div >
88102 {:else }
89103 <InteractiveText variant ="copy" text ={record .value } isVisible />
You can’t perform that action at this time.
0 commit comments