mirror of https://github.com/Kylart/KawAnime.git
Fix a problem where dropping a video file would be added twice to history
This commit is contained in:
parent
f08ba845fa
commit
60765c82ba
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue