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() {
|
setPageTitle() {
|
||||||
const title = 'Edit Account'
|
const title = 'Edit Account'
|
||||||
document.title = `${title} - ${this.postForm.id}`
|
document.title = `${title} - ${this.postForm.name}`
|
||||||
},
|
},
|
||||||
submitForm() {
|
submitForm() {
|
||||||
this.$refs.postForm.validate(valid => {
|
this.$refs.postForm.validate(valid => {
|
||||||
|
Reference in New Issue
Block a user