Fixed format of events
This commit is contained in:
@@ -50,7 +50,8 @@
|
||||
},
|
||||
confirm() {
|
||||
if (this.selectedFile) {
|
||||
this.$emit('confirm', this.selectedFile.hash);
|
||||
console.log(this.selectedFile.hash);
|
||||
this.$emit('confirm', { hash: this.selectedFile.hash });
|
||||
this.closeDialog();
|
||||
} else {
|
||||
alert('Bitte wählen Sie eine Datei aus.');
|
||||
|
||||
Reference in New Issue
Block a user