mirror of
https://github.com/freedbygrace/DynamoDNS.git
synced 2026-08-09 01:39:25 +00:00
Rearrange domain details table: swap "Content" and "AutoIP" columns.
Replit-Commit-Author: Agent Replit-Commit-Session-Id: 9111ef36-26c8-4085-84ca-a35dc1fec1b5 Replit-Commit-Screenshot-Url: https://storage.googleapis.com/screenshot-production-us-central1/7083d608-d6d3-4a6a-9a27-6286c5109627/f0b62090-6234-4a0a-ac5b-0b6adc9c782f.jpg
This commit is contained in:
@@ -429,8 +429,8 @@ export function DomainDetails({ domain, onBack }: DomainDetailsProps) {
|
||||
<TableRow>
|
||||
<TableHead>Name</TableHead>
|
||||
<TableHead>Type</TableHead>
|
||||
<TableHead>Content</TableHead>
|
||||
<TableHead>AutoIP</TableHead>
|
||||
<TableHead>Content</TableHead>
|
||||
<TableHead>TTL</TableHead>
|
||||
<TableHead>Last Update</TableHead>
|
||||
<TableHead>Status</TableHead>
|
||||
@@ -459,6 +459,17 @@ export function DomainDetails({ domain, onBack }: DomainDetailsProps) {
|
||||
<TableCell>
|
||||
<Badge variant="outline">{record.type}</Badge>
|
||||
</TableCell>
|
||||
<TableCell>
|
||||
{record.isAutoIP ? (
|
||||
<Badge variant="outline" className="bg-blue-50 text-blue-600 border-blue-200">
|
||||
Enabled
|
||||
</Badge>
|
||||
) : (
|
||||
<Badge variant="outline" className="bg-gray-50 text-gray-500 border-gray-200">
|
||||
Disabled
|
||||
</Badge>
|
||||
)}
|
||||
</TableCell>
|
||||
<TableCell>
|
||||
{record.isAutoIP ? (
|
||||
record.currentIp ? (
|
||||
@@ -514,17 +525,6 @@ export function DomainDetails({ domain, onBack }: DomainDetailsProps) {
|
||||
</TooltipProvider>
|
||||
)}
|
||||
</TableCell>
|
||||
<TableCell>
|
||||
{record.isAutoIP ? (
|
||||
<Badge variant="outline" className="bg-blue-50 text-blue-600 border-blue-200">
|
||||
Enabled
|
||||
</Badge>
|
||||
) : (
|
||||
<Badge variant="outline" className="bg-gray-50 text-gray-500 border-gray-200">
|
||||
Disabled
|
||||
</Badge>
|
||||
)}
|
||||
</TableCell>
|
||||
<TableCell>{record.ttl}s</TableCell>
|
||||
<TableCell>
|
||||
{record.lastUpdated
|
||||
|
||||
Reference in New Issue
Block a user