Fix the title of the page, showing the name instead of the id
This commit is contained in:
parent
cfd42544f9
commit
d22924b507
|
@ -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 => {
|
||||||
|
|
Loading…
Reference in New Issue