diff --git a/src/routes/(console)/organization-[organization]/domains/domain-[domain]/+page.svelte b/src/routes/(console)/organization-[organization]/domains/domain-[domain]/+page.svelte index e81509179..1cf76a521 100644 --- a/src/routes/(console)/organization-[organization]/domains/domain-[domain]/+page.svelte +++ b/src/routes/(console)/organization-[organization]/domains/domain-[domain]/+page.svelte @@ -40,12 +40,10 @@ if ('message' in zone) { const blob = new Blob([zone.message as string], { type: 'text/plain' }); - // Create download link const downloadLink = document.createElement('a'); downloadLink.href = URL.createObjectURL(blob); downloadLink.download = `${data.domain.domain}.txt`; - // Trigger download and clean up document.body.appendChild(downloadLink); downloadLink.click(); document.body.removeChild(downloadLink);