summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorsyuilo <syuilotan@yahoo.co.jp>2020-10-25 11:19:20 +0900
committersyuilo <syuilotan@yahoo.co.jp>2020-10-25 11:19:20 +0900
commitd9be9c958ff9f67460d69b2220f90537daef1c4c (patch)
treebf4ce68e95abe76036379475fc65f32f4ecf6a90 /src
parent:art: (diff)
downloadsharkey-d9be9c958ff9f67460d69b2220f90537daef1c4c.tar.gz
sharkey-d9be9c958ff9f67460d69b2220f90537daef1c4c.tar.bz2
sharkey-d9be9c958ff9f67460d69b2220f90537daef1c4c.zip
投稿失敗したときにエラー表示するように
Diffstat (limited to 'src')
-rw-r--r--src/client/components/post-form.vue4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/client/components/post-form.vue b/src/client/components/post-form.vue
index ccca4b54a6..0481691be9 100644
--- a/src/client/components/post-form.vue
+++ b/src/client/components/post-form.vue
@@ -562,6 +562,10 @@ export default defineComponent({
});
}).catch(err => {
this.posting = false;
+ os.dialog({
+ type: 'error',
+ text: err.message + '<br>' + (err as any).id,
+ });
});
},