diff --git a/client/src/components/domain/domain-details.tsx b/client/src/components/domain/domain-details.tsx index aa9f493..24bde62 100644 --- a/client/src/components/domain/domain-details.tsx +++ b/client/src/components/domain/domain-details.tsx @@ -460,68 +460,65 @@ export function DomainDetails({ domain, onBack }: DomainDetailsProps) { {record.type} - - - - - {record.isAutoIP - ? "Auto-managed" - : record.content} - - - -

- {record.isAutoIP - ? "Content automatically managed by AutoIP" - : record.content} -

- {record.notes && ( - <> -
-

{record.notes}

- - )} -
-
-
+ {record.isAutoIP ? ( + record.currentIp ? ( + + + + + + +

{record.currentIp}

+

Click to copy

+
+
+
+ ) : ( + Resolving IP... + ) + ) : ( + + + + + {record.content} + + + +

{record.content}

+ {record.notes && ( + <> +
+

{record.notes}

+ + )} +
+
+
+ )}
{record.isAutoIP ? ( -
- - Enabled - - {record.currentIp && ( - - - - - - -

{record.currentIp}

-

Click to copy

-
-
-
- )} -
+ + Enabled + ) : ( Disabled