summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorsyuilo <Syuilotan@yahoo.co.jp>2019-09-02 06:21:43 +0900
committersyuilo <Syuilotan@yahoo.co.jp>2019-09-02 06:21:43 +0900
commit0e0d6692c0412e193c1c5a650afb101c2d782800 (patch)
tree41c5752faf008657d73dbf254ab0492f4c71f4fc /src
parentUpdate CHANGELOG.md (diff)
downloadsharkey-0e0d6692c0412e193c1c5a650afb101c2d782800.tar.gz
sharkey-0e0d6692c0412e193c1c5a650afb101c2d782800.tar.bz2
sharkey-0e0d6692c0412e193c1c5a650afb101c2d782800.zip
Fix bug
Diffstat (limited to 'src')
-rw-r--r--src/client/app/common/views/pages/page-editor/page-editor.vue4
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;