Skip to content

Commit

Permalink
Merge pull request #559 from rahulramakrishnan3/release-3.1.0
Browse files Browse the repository at this point in the history
comments
  • Loading branch information
Cafnanc committed Aug 8, 2024
2 parents 47f843e + f04d942 commit 9918ef6
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 9918ef6

Please sign in to comment.