feat(rename): add default value for renaming file (#23)

This commit is contained in:
Hugo Massing 2018-07-31 16:12:04 +02:00 committed by 1138-4EB
parent f5c48c9679
commit 0377080da6
1 changed files with 3 additions and 0 deletions

View File

@ -35,6 +35,9 @@ export default {
name: ''
}
},
created () {
this.name = this.oldName()
},
computed: mapState(['req', 'selected', 'selectedCount']),
methods: {
cancel: function (event) {