mirror of
https://github.com/VueTorrent/VueTorrent.git
synced 2024-11-29 05:28:53 +03:00
fix: selection list not cleared when closing deletemodal without button press
bug fix: not release selected list when close dialog without close button
This commit is contained in:
parent
a4f412f8c5
commit
80573f4364
1 changed files with 3 additions and 1 deletions
|
@ -62,9 +62,11 @@ export default {
|
|||
return this.getTorrents().filter(t => this.selected_torrents.includes(t.hash))
|
||||
}
|
||||
},
|
||||
beforeDestroy() {
|
||||
this.$store.state.selected_torrents = []
|
||||
},
|
||||
methods: {
|
||||
close() {
|
||||
this.$store.state.selected_torrents = []
|
||||
this.$store.commit('DELETE_MODAL', this.guid)
|
||||
},
|
||||
deleteWithoutFiles() {
|
||||
|
|
Loading…
Reference in a new issue