diff options
| author | MeiMei <30769358+mei23@users.noreply.github.com> | 2020-05-15 20:51:16 +0900 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-05-15 20:51:16 +0900 |
| commit | 538ca2a7c7898b698d3c607e99ad32044c70c884 (patch) | |
| tree | cf3d06ad1298b7bada1b6518b3556a16c8068a11 /src/client/pages/instance | |
| parent | Apply blocked instance to LD-Signature host (#6355) (diff) | |
| download | sharkey-538ca2a7c7898b698d3c607e99ad32044c70c884.tar.gz sharkey-538ca2a7c7898b698d3c607e99ad32044c70c884.tar.bz2 sharkey-538ca2a7c7898b698d3c607e99ad32044c70c884.zip | |
リレーに不正なURLは追加できないように (#6351)
* リレーに不正なURLは追加できないように
* lint
Diffstat (limited to 'src/client/pages/instance')
| -rw-r--r-- | src/client/pages/instance/relays.vue | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/src/client/pages/instance/relays.vue b/src/client/pages/instance/relays.vue index 568f5edd71..9b523bd0ec 100644 --- a/src/client/pages/instance/relays.vue +++ b/src/client/pages/instance/relays.vue @@ -64,6 +64,11 @@ export default Vue.extend({ inbox }).then((relay: any) => { this.refresh(); + }).catch((e: any) => { + this.$root.dialog({ + type: 'error', + text: e.message || e + }); }); }, @@ -72,6 +77,11 @@ export default Vue.extend({ inbox }).then(() => { this.refresh(); + }).catch((e: any) => { + this.$root.dialog({ + type: 'error', + text: e.message || e + }); }); }, |