diff options
| author | syuilo <Syuilotan@yahoo.co.jp> | 2019-09-02 06:21:43 +0900 |
|---|---|---|
| committer | syuilo <Syuilotan@yahoo.co.jp> | 2019-09-02 06:21:43 +0900 |
| commit | 0e0d6692c0412e193c1c5a650afb101c2d782800 (patch) | |
| tree | 41c5752faf008657d73dbf254ab0492f4c71f4fc | |
| parent | Update CHANGELOG.md (diff) | |
| download | sharkey-0e0d6692c0412e193c1c5a650afb101c2d782800.tar.gz sharkey-0e0d6692c0412e193c1c5a650afb101c2d782800.tar.bz2 sharkey-0e0d6692c0412e193c1c5a650afb101c2d782800.zip | |
Fix bug
| -rw-r--r-- | src/client/app/common/views/pages/page-editor/page-editor.vue | 4 |
1 files changed, 2 insertions, 2 deletions
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 cae531e1f7..cbe65ad6f0 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 @@ -232,7 +232,7 @@ export default Vue.extend({ eyeCatchingImageId: this.eyeCatchingImageId, }; - function onError(err) { + const onError = err => { if (err.id == '3d81ceae-475f-4600-b2a8-2bc116157532') { if (err.info.param == 'name') { this.$root.dialog({ @@ -247,7 +247,7 @@ export default Vue.extend({ text: this.$t('name-already-exists') }); } - } + }; if (this.pageId) { options.pageId = this.pageId; |