Fix the title of the page, showing the name instead of the id
This commit is contained in:
@@ -293,7 +293,7 @@ export default {
|
||||
},
|
||||
setPageTitle() {
|
||||
const title = 'Edit Account'
|
||||
document.title = `${title} - ${this.postForm.id}`
|
||||
document.title = `${title} - ${this.postForm.name}`
|
||||
},
|
||||
submitForm() {
|
||||
this.$refs.postForm.validate(valid => {
|
||||
|
Reference in New Issue
Block a user