ページURLが空の時currentNameを使う

This commit is contained in:
Oni-Men 2019-08-30 07:25:32 +09:00
parent 1f890c5bed
commit 4b69b0bc09

View file

@ -222,7 +222,7 @@ export default Vue.extend({
save() { save() {
const options = { const options = {
title: this.title.trim(), title: this.title.trim(),
name: this.name.trim(), name: this.name == '' ? this.currentName : this.name.trim(),
summary: this.summary, summary: this.summary,
font: this.font, font: this.font,
hideTitleWhenPinned: this.hideTitleWhenPinned, hideTitleWhenPinned: this.hideTitleWhenPinned,