Skip to content

Commit 19dea22

Browse files
korylprincemarcosmoura
authored andcommitted
set empty file when click on cancel button in md-file (#291)
#290
1 parent bc9ece0 commit 19dea22

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/components/mdFile/mdFile.vue

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -73,6 +73,8 @@
7373
this.filename = this.getMultipleName(files);
7474
} else if (files.length === 1) {
7575
this.filename = files[0].name;
76+
} else {
77+
this.filename = null;
7678
}
7779
} else {
7880
this.filename = $event.target.value.split('\\').pop();

0 commit comments

Comments
 (0)