mirror of https://github.com/doccano/doccano.git
pythondatasetnatural-language-processingdata-labelingmachine-learningannotation-tooldatasetsactive-learningtext-annotation
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.
37 lines
743 B
37 lines
743 B
<template>
|
|
<base-modal
|
|
text="Show guideline"
|
|
>
|
|
<template v-if="currentProject" v-slot="slotProps">
|
|
<guideline-card
|
|
:guideline-text="currentProject.guideline"
|
|
@close="slotProps.close"
|
|
/>
|
|
</template>
|
|
</base-modal>
|
|
</template>
|
|
|
|
<script>
|
|
import { mapActions, mapGetters } from 'vuex'
|
|
import BaseModal from '@/components/molecules/BaseModal'
|
|
import GuidelineCard from '@/components/organisms/GuidelineCard'
|
|
|
|
export default {
|
|
components: {
|
|
BaseModal,
|
|
GuidelineCard
|
|
},
|
|
|
|
computed: {
|
|
...mapGetters('projects', ['currentProject'])
|
|
},
|
|
|
|
created() {
|
|
this.setCurrentProject(this.$route.params.id)
|
|
},
|
|
|
|
methods: {
|
|
...mapActions('projects', ['setCurrentProject'])
|
|
}
|
|
}
|
|
</script>
|