removes logs

This commit is contained in:
SimonGschnell
2024-01-31 09:15:48 +01:00
parent df1fe01abe
commit 6f081e4136
-3
View File
@@ -33,14 +33,11 @@ export default {
dt.items.add(file);
doubles.push(this.stringifyFile(file));
}
console.log("files",event.target.files);
for (var file of event.target.files) {
// NOTE(chris): deep check (with FileReader) would require an async function so we only check the basic attributes
if (doubles.indexOf(this.stringifyFile(file)) < 0)
dt.items.add(file);
}
console.log(Array.isArray(dt.files));
console.log(typeof(dt.files));
this.$emit('update:modelValue', dt.files);
},
removeFile(id) {