Comments and bugfixes

This commit is contained in:
Henrique Dias committed 2017-07-08 11:30:22 +01:00
1 parent 063cd4f5ed
commit 5eab62e0aa
5 files changed
+35 -24

No files matched your search

+1 -2
View File
@@ -28,6 +28,7 @@ export default {
this.$store.commit('closeHovers')
},
oldName: function () {
// Get the current name of the file we are editing.
if (this.req.kind !== 'listing') {
return this.req.name
}
@@ -58,14 +59,12 @@ export default {
this.$router.push({ path: newLink })
return
}
// TODO: keep selected after reload?
this.$store.commit('setReload', true)
}).catch(error => {
this.$store.commit('showError', error)
})
this.$store.commit('closeHovers')
return
}
}
}