Skip to content

Commit

Permalink
Merge pull request #431 from chain4travel/update-tos
Browse files Browse the repository at this point in the history
chore: Update Terms of Use link in ToS.vue component
  • Loading branch information
Ysrbolles authored Aug 20, 2024
2 parents 19afdce + e826350 commit cf233ff
Show file tree
Hide file tree
Showing 6 changed files with 5 additions and 754 deletions.
8 changes: 5 additions & 3 deletions src/components/misc/ToS.vue
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,9 @@
<div class="term-of-us">
<p>
By using this application you agree to the
<span class="link" @click="click('/legal')">Terms of Use.</span>
<span class="link" @click="redirect('https://camino.network/terms/')">
Terms of Use.
</span>
</p>
</div>
</template>
Expand All @@ -13,8 +15,8 @@ import { Vue, Component, Prop } from 'vue-property-decorator'
})
export default class ToS extends Vue {
helpers = this.globalHelper()
click(to: string) {
this.helpers.navigate(to)
redirect(to: string) {
window.open(to, '_blank')
}
}
</script>
Expand Down
Loading

0 comments on commit cf233ff

Please sign in to comment.