mirror of
https://github.com/appwrite/console.git
synced 2026-11-18 20:47:21 +00:00
Merge pull request #2229 from appwrite/feat-update-custom-domain-table
This commit is contained in:
1 file changed
+17
-3
+17
-3
@@ -11,6 +11,7 @@
|
||||
import { PaginationWithLimit } from '$lib/components';
|
||||
import {
|
||||
ActionMenu,
|
||||
Badge,
|
||||
Button,
|
||||
InteractiveText,
|
||||
Icon,
|
||||
@@ -79,11 +80,24 @@
|
||||
{record.type}
|
||||
</Typography.Text>
|
||||
{:else if column.id === 'value'}
|
||||
{@const isARecord = record.value === 'a.a.a.a'}
|
||||
{#if isARecord}
|
||||
{@const isARecord = record.type.toLowerCase() === 'a'}
|
||||
{@const isAAAARecord = record.type.toLowerCase() === 'aaaa'}
|
||||
{@const isCAARecord = record.type.toLowerCase() === 'caa'}
|
||||
{#if record.lock && (isARecord || isAAAARecord)}
|
||||
<!-- to align with InteractiveText -->
|
||||
<div style:padding-inline-start="4px">
|
||||
<Typography.Text>Served by Appwrite</Typography.Text>
|
||||
<Badge
|
||||
variant="secondary"
|
||||
size="s"
|
||||
content="Served by Appwrite" />
|
||||
</div>
|
||||
{:else if record.lock && isCAARecord}
|
||||
<!-- to align with InteractiveText -->
|
||||
<div style:padding-inline-start="4px">
|
||||
<Badge
|
||||
variant="secondary"
|
||||
size="s"
|
||||
content="Generated by Appwrite" />
|
||||
</div>
|
||||
{:else}
|
||||
<InteractiveText variant="copy" text={record.value} isVisible />
|
||||
|
||||
Reference in new issue
Block a user