Skip to content

Commit

Permalink
fix: impl correct delete version
Browse files Browse the repository at this point in the history
Former-commit-id: b62523c
  • Loading branch information
ci010 committed Jul 15, 2019
1 parent 0f16c62 commit 923eebb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/renderer/windows/main/components/LocalVersionList.vue
Original file line number Diff line number Diff line change
Expand Up @@ -87,8 +87,8 @@ export default {
this.deletingVersionId = v.folder;
return false;
},
comfireDeleting(v) {
this.$repo.dispatch('deleteVersion', v.folder);
comfireDeleting() {
this.$repo.dispatch('deleteVersion', this.deletingVersionId);
this.deletingVersion = false;
this.deletingVersionId = '';
},
Expand Down

0 comments on commit 923eebb

Please sign in to comment.