Skip to content

Commit

Permalink
Merge pull request #432 from chain4travel/suite
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 e82df77 + cf233ff commit 6d758ff
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 6d758ff

Please sign in to comment.