From f04d942fe378328713e876c14ece9d889f9a790e Mon Sep 17 00:00:00 2001 From: Rahul K R Date: Thu, 8 Aug 2024 18:49:32 +0530 Subject: [PATCH] comments --- src/app/shared/components/bulk-upload/bulk-upload.component.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/app/shared/components/bulk-upload/bulk-upload.component.ts b/src/app/shared/components/bulk-upload/bulk-upload.component.ts index 409d70fc..e3b75058 100644 --- a/src/app/shared/components/bulk-upload/bulk-upload.component.ts +++ b/src/app/shared/components/bulk-upload/bulk-upload.component.ts @@ -30,7 +30,7 @@ async downloadCSV(){ async uploadCSV(event){ let file= event.target.files[0]; - const acceptableTypes = ['text/csv', 'appilication/vnd.ms-excel']; + const acceptableTypes = ['text/csv', 'application/vnd.ms-excel']; console.log('file type :', file.type, file); if(!(acceptableTypes.includes(file.type))){ this.toast.showToast('PLEASE_UPLOAD_CSV_FILE', 'danger')