Skip to content

Commit

Permalink
Merge pull request #560 from rahulramakrishnan3/release-3.1.0
Browse files Browse the repository at this point in the history
console log removed
  • Loading branch information
Cafnanc authored Aug 8, 2024
2 parents 9918ef6 + 4209191 commit 6eee52a
Showing 1 changed file with 0 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,6 @@ async downloadCSV(){
async uploadCSV(event){
let file= event.target.files[0];
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')
event.target.value='';
Expand Down

0 comments on commit 6eee52a

Please sign in to comment.