From ccd284a8b73cce97eff8644b00ee9d59ffd64a38 Mon Sep 17 00:00:00 2001 From: Oni-Men Date: Fri, 30 Aug 2019 08:49:02 +0900 Subject: [PATCH] =?UTF-8?q?=E7=A9=BA=E3=81=AE=E6=99=82=E3=81=AF=E3=83=9A?= =?UTF-8?q?=E3=83=BC=E3=82=B8URL=E3=81=ABcurrentName=E3=82=92=E4=BB=A3?= =?UTF-8?q?=E5=85=A5=E3=81=99=E3=82=8B=E3=82=88=E3=81=86=E3=81=AB?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../app/common/views/pages/page-editor/page-editor.vue | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) 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,