removed stray console command for #78 updated

just had a stray trace in there that was removed and correct the issue
referene from the last update. oops.
This commit is contained in:
Are0h 2022-05-18 16:49:16 -07:00
parent 8734baf85e
commit 3fa3a9e0e6
2 changed files with 1 additions and 8 deletions

View file

@ -5466,7 +5466,6 @@ class FileManager {
], sortOrder[step].fileName, {
type: blob.type
});
console.log('FRESH', fresh);
this.files.push(fresh);
var limit = count - 1;
if (this.files.length <= limit) {
@ -5476,9 +5475,7 @@ class FileManager {
});
}
sortFiles(files) {
var self = this; //this.files = []; //clear files array
//this.imageList.innerHTML = '';
//this.fileList.innerHTML = '';
var self = this;
for(var i = 0, file1; file1 = files[i]; i++){
var reader = new FileReader(); // Closure to capture the file information
reader.onload = ((theFile)=>{

View file

@ -68,7 +68,6 @@ export default class FileManager {
var utils = new DataUtils();
utils.imgLoad(sortOrder[step].earl).then(blob => {
var fresh = new File([blob], sortOrder[step].fileName, { type: blob.type });
console.log('FRESH', fresh);
this.files.push(fresh);
var limit = count - 1;
if (this.files.length <= limit) {
@ -82,9 +81,6 @@ export default class FileManager {
sortFiles(files) {
var self = this;
//this.files = []; //clear files array
//this.imageList.innerHTML = '';
//this.fileList.innerHTML = '';
for (var i = 0, file; (file = files[i]); i++) {
var reader = new FileReader();
// Closure to capture the file information