diff --git a/src/client/app/common/views/pages/page-editor/page-editor.vue b/src/client/app/common/views/pages/page-editor/page-editor.vue index d655c9cc6a..06e70431a8 100644 --- a/src/client/app/common/views/pages/page-editor/page-editor.vue +++ b/src/client/app/common/views/pages/page-editor/page-editor.vue @@ -220,9 +220,13 @@ export default Vue.extend({ methods: { save() { + if(this.name == ''){ + this.name = this.currentName; + } + const options = { title: this.title.trim(), - name: this.name == '' ? this.currentName : this.name.trim(), + name: this.name.trim(), summary: this.summary, font: this.font, hideTitleWhenPinned: this.hideTitleWhenPinned,