Commit f4588e9f authored by christianrhansen's avatar christianrhansen

created new back button component

parent 59fbfe24
<template lang="pug">
q-btn(@click="goToTarget()", color="lightgrey", icon="keyboard_backspace", round, size="sm")
</template>
<script>
export default {
props: ['target'],
methods: {
goToTarget () {
return this.$router.push({name: this.target})
}
}
}
</script>
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment