Skip to content

Commit

Permalink
comments
Browse files Browse the repository at this point in the history
  • Loading branch information
Rahul K R committed Aug 8, 2024
1 parent d502026 commit f04d942
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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')
Expand Down

0 comments on commit f04d942

Please sign in to comment.