A modern and easy to use dashboard. 80+ integrations. 20K+ icons built in. Authentication out of the box. No YAML, drag and drop configuration.
fix: allow additional file-type for oldmarr import (#1723)
Meier Lukas1e8a5359b78e
diff --git a/apps/nextjs/src/app/[locale]/init/_steps/import/import-dropzone.tsx b/apps/nextjs/src/app/[locale]/init/_steps/import/import-dropzone.tsxindex b425267cf..cea43cabe 100644--- a/apps/nextjs/src/app/[locale]/init/_steps/import/import-dropzone.tsx+++ b/apps/nextjs/src/app/[locale]/init/_steps/import/import-dropzone.tsx@@ -24,10 +24,19 @@ export const ImportDropZone = ({ loading, updateFile }: ImportDropZoneProps) =>}}acceptColor="blue.6"rejectColor="red.6"- accept={[MIME_TYPES.zip]}+ accept={[MIME_TYPES.zip, "application/x-zip-compressed"]}loading={loading}multiple={false}maxSize={1024 * 1024 * 1024 * 64} // 64 MB+ onReject={(rejections) => {+ console.error(+ "Rejected files",+ rejections.map(+ (rejection) =>+ `File: ${rejection.file.name} size=${rejection.file.size} fileType=${rejection.file.type}\n - ${rejection.errors.map((error) => error.message).join("\n - ")}`,+ ),+ );+ }}><Group justify="center" gap="xl" mih={220} style={{ pointerEvents: "none" }}><Dropzone.Accept>