This commit is contained in:
Danil Kovtonyuk 2020-02-29 22:54:36 +10:00
parent 53ddd3464b
commit f4991132c4

View File

@ -35,7 +35,7 @@
<b-field position="is-centered"> <b-field position="is-centered">
<b-input :value="contributionHash" readonly></b-input> <b-input :value="contributionHash" readonly></b-input>
<p class="control"> <p class="control">
<b-button @click="copyСontributionHash()" type="is-primary">Copy</b-button> <b-button @click="copyContributionHash" type="is-primary">Copy</b-button>
</p> </p>
</b-field> </b-field>
</div> </div>
@ -212,7 +212,7 @@ export default {
this.logOut() this.logOut()
this.contributionType = 'anonymous' this.contributionType = 'anonymous'
}, },
copyСontributionHash() { copyContributionHash() {
navigator.clipboard.writeText(this.contributionHash).then(() => { navigator.clipboard.writeText(this.contributionHash).then(() => {
this.$buefy.toast.open({ this.$buefy.toast.open({
message: 'Copied!', message: 'Copied!',