This commit is contained in:
Alexey 2020-02-28 16:38:36 +03:00
parent 27676cabf0
commit 32eb117a0f
2 changed files with 5 additions and 4 deletions

View File

@ -27,7 +27,7 @@
target="_blank"
outlined
>
Tweet about your contribution
Post attestation
</b-button>
</div>
<div v-show="status.type === 'is-danger' || status.type === 'is-success'" class="status">
@ -90,7 +90,7 @@ export default {
body: JSON.stringify(body)
})
if (response.ok) {
this.status.msg = `Your contribution is verified and authorized. Thank you.`
this.status.msg = `Your contribution authorized. Now you can post attestation from your twitter account.`
this.status.type = 'is-success'
this.hideSaveBtn = true
} else {

View File

@ -49,7 +49,7 @@
target="_blank"
outlined
>
Tweet about your contribution
Post attestation
</b-button>
</div>
<p class="p">
@ -160,7 +160,8 @@ export default {
body: formData
})
if (resp.ok) {
this.status.msg = 'Your contribution is verified and recorded. Thank you.'
this.status.msg =
'Your contribution is verified and recorded. Now you can post attestation from your twitter account.'
this.status.type = 'is-success'
const responseData = await resp.json()
this.$store.commit('user/SET_CONTRIBUTION_INDEX', responseData.contributionIndex)