From 958a8ad5a7fc9132bbb3e1f89514fdfddcfe100d Mon Sep 17 00:00:00 2001 From: Owaise Imdad Date: Sat, 7 Jun 2025 21:14:03 +0530 Subject: [PATCH 1/2] FIX for csv file case sensitive file ending. --- client/src/Pages/Uptime/BulkImport/Upload.jsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client/src/Pages/Uptime/BulkImport/Upload.jsx b/client/src/Pages/Uptime/BulkImport/Upload.jsx index 261dcffe6..24bc0ec38 100644 --- a/client/src/Pages/Uptime/BulkImport/Upload.jsx +++ b/client/src/Pages/Uptime/BulkImport/Upload.jsx @@ -23,7 +23,7 @@ const UploadFile = ({ onFileSelect }) => { // Basic file validation if (!selectedFile) return; - if (!selectedFile.name.endsWith(".csv")) { + if (!selectedFile.name.toLowerCase().endsWith(".csv")) { setError(t("bulkImport.invalidFileType")); return; } From f2b7a9cc6734b54d7b152dda0574c7f134d90076 Mon Sep 17 00:00:00 2001 From: Alex Holliday Date: Sun, 8 Jun 2025 08:14:17 +0800 Subject: [PATCH 2/2] fix formatting --- client/src/Pages/Settings/index.jsx | 4 ++-- client/src/Pages/Uptime/Create/index.jsx | 4 +++- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/client/src/Pages/Settings/index.jsx b/client/src/Pages/Settings/index.jsx index f7271e6db..dd0135edb 100644 --- a/client/src/Pages/Settings/index.jsx +++ b/client/src/Pages/Settings/index.jsx @@ -205,7 +205,7 @@ const Settings = () => { bottom: 0, boxShadow: theme.shape.boxShadow, zIndex: 1000, - mt : 3, + mt: 3, backgroundColor: theme.palette.primary.main, display: "flex", justifyContent: "flex-end", @@ -216,7 +216,7 @@ const Settings = () => { border: 1, borderStyle: "solid", borderColor: theme.palette.primary.lowContrast, - borderRadius: theme.spacing(2) + borderRadius: theme.spacing(2), }} >