Fix a problem where dropping a video file would be added twice to history

This commit is contained in:
Kylart 2018-05-28 12:56:39 +02:00
parent f08ba845fa
commit 60765c82ba
1 changed files with 0 additions and 8 deletions

View File

@ -69,14 +69,6 @@ export default {
name
}
})
// Adding to history if video file.
if (['mkv', 'mp4', 'avi'].includes(fullName.slice(-3))) {
this.$store.dispatch('history/append', {
type: 'Play',
text: name
})
}
}
this.showOverlay(false)