From 10efe84aad86389dbc540d52fbf6598da1625ab2 Mon Sep 17 00:00:00 2001 From: Arman Date: Wed, 21 May 2025 17:58:07 +0200 Subject: [PATCH] fix: import modal --- .../domains/domain-[domain]/importRecordModal.svelte | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/src/routes/(console)/organization-[organization]/domains/domain-[domain]/importRecordModal.svelte b/src/routes/(console)/organization-[organization]/domains/domain-[domain]/importRecordModal.svelte index 873e68bfb..5d0eeda5a 100644 --- a/src/routes/(console)/organization-[organization]/domains/domain-[domain]/importRecordModal.svelte +++ b/src/routes/(console)/organization-[organization]/domains/domain-[domain]/importRecordModal.svelte @@ -39,9 +39,9 @@ function handleInvalid(e: CustomEvent) { const reason = e.detail.reason; if (reason === InvalidFileType.EXTENSION) { - error = 'Only .tar.gz files allowed'; + error = 'Only .txt files allowed'; } else if (reason === InvalidFileType.SIZE) { - error = 'File size exceeds 10MB'; + error = 'File size exceeds 5MB'; } else { error = 'Invalid file'; } @@ -72,11 +72,10 @@ Upload a .txt file with your DNS records - maxSize={10000000} @@ -97,7 +96,7 @@ >Only .txt files allowed - Max file size 10MB + Max file size 5MB