🐸 Rybbit - open-source and privacy-friendly alternative to Google Analytics that is 10x more intuitive.
Fix file size message
Edward Cuie87bec6b95f0
diff --git a/client/src/components/SiteSettings/ImportManager.tsx b/client/src/components/SiteSettings/ImportManager.tsxindex dad9f3811..a11e8cca1 100644--- a/client/src/components/SiteSettings/ImportManager.tsx+++ b/client/src/components/SiteSettings/ImportManager.tsx@@ -50,7 +50,7 @@ const importFormSchema = z.object({const file = files[0];return file && file.size <= MAX_FILE_SIZE;},- `File size must be less than ${MAX_FILE_SIZE / 1024 / 1024}MB`+ IS_CLOUD ? `File size must be less than ${MAX_FILE_SIZE / 1024 / 1024}MB` : "File size exceeds maximum allowed").refine(files => {const file = files[0];