You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

41 lines
609 B

<template>
<div>
<v-btn
:disabled="false"
class="text-capitalize"
outlined
@click="handleClear()"
>
{{ "Clear Annotations" }}
</v-btn>
</div>
</template>
<script>
import { mapState, mapActions } from 'vuex'
export default {
components: {
},
data() {
return {
dialog: false
}
},
computed: {
...mapState('documents', ['selected'])
},
methods: {
...mapActions('documents', ['clearAnnotations']),
handleClear() {
const projectId = this.$route.params.id
this.clearAnnotations(projectId)
}
}
}
</script>