🐸 Rybbit - open-source and privacy-friendly alternative to Google Analytics that is 10x more intuitive.
Misc
Edward Cui0e035390e154
diff --git a/client/src/components/SiteSettings/ImportManager.tsx b/client/src/components/SiteSettings/ImportManager.tsxindex 87830f6a8..e64e21437 100644--- a/client/src/components/SiteSettings/ImportManager.tsx+++ b/client/src/components/SiteSettings/ImportManager.tsx@@ -47,10 +47,11 @@ const importFormSchema = z.object({.refine(files => files.length === 1, "Please select a file").refine(files => {+ if (!IS_CLOUD) return true;const file = files[0];return file && file.size <= MAX_FILE_SIZE;},- IS_CLOUD ? `File size must be less than ${MAX_FILE_SIZE / 1024 / 1024} MB` : "File size exceeds maximum allowed"+ `File size must be less than ${MAX_FILE_SIZE / 1024 / 1024} MB`).refine(files => {const file = files[0];