mirror of
https://github.com/freedbygrace/DynamoDNS.git
synced 2026-08-30 03:59:22 +00:00
Improve DNS record page display logic
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/2a9d1f49-af02-4396-875f-c593ad32c8af.jpg
This commit is contained in:
@@ -163,6 +163,9 @@ export default function DnsRecordsPage() {
|
|||||||
domainId,
|
domainId,
|
||||||
};
|
};
|
||||||
|
|
||||||
|
// For debugging
|
||||||
|
console.log("Adding DNS record:", recordData);
|
||||||
|
|
||||||
const res = await apiRequest("POST", "/api/dns-records", recordData);
|
const res = await apiRequest("POST", "/api/dns-records", recordData);
|
||||||
return await res.json();
|
return await res.json();
|
||||||
},
|
},
|
||||||
@@ -455,7 +458,7 @@ export default function DnsRecordsPage() {
|
|||||||
<DialogHeader>
|
<DialogHeader>
|
||||||
<DialogTitle>Add DNS Record</DialogTitle>
|
<DialogTitle>Add DNS Record</DialogTitle>
|
||||||
<DialogDescription>
|
<DialogDescription>
|
||||||
Add a new DNS record to {domain?.name || 'your domain'}.
|
Add a new DNS record to {domain?.name ? domain.name : 'your domain'}.
|
||||||
</DialogDescription>
|
</DialogDescription>
|
||||||
</DialogHeader>
|
</DialogHeader>
|
||||||
|
|
||||||
@@ -660,7 +663,7 @@ export default function DnsRecordsPage() {
|
|||||||
<DialogHeader>
|
<DialogHeader>
|
||||||
<DialogTitle>Edit DNS Record</DialogTitle>
|
<DialogTitle>Edit DNS Record</DialogTitle>
|
||||||
<DialogDescription>
|
<DialogDescription>
|
||||||
Update the DNS record for {domain?.name || 'your domain'}.
|
Update the DNS record for {domain?.name ? domain.name : 'your domain'}.
|
||||||
</DialogDescription>
|
</DialogDescription>
|
||||||
</DialogHeader>
|
</DialogHeader>
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user