Skip to content

Commit c2591ca

Browse files
Change text on account request failure
1 parent 708b7a3 commit c2591ca

File tree

1 file changed

+12
-1
lines changed

1 file changed

+12
-1
lines changed

src/views/Acc.vue

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,8 @@ export default {
100100
this.$router.push('/safe')
101101
return
102102
}
103-
this.showError()
103+
104+
this.showBlockedError()
104105
})
105106
.then(() => {
106107
this.account = ''
@@ -109,6 +110,16 @@ export default {
109110
return
110111
})
111112
},
113+
showBlockedError() {
114+
return this.$ionic.alertController
115+
.create({
116+
header: 'Request blocked',
117+
message:
118+
'Your request was blocked by the <a href="https://haveibeenpwned.com/" target="_blank">API service provider</a>',
119+
buttons: ['OK'],
120+
})
121+
.then(e => e.present())
122+
},
112123
showError() {
113124
return this.$ionic.alertController
114125
.create({

0 commit comments

Comments
 (0)