Browse Source

Enable clear annotation button for any project type

pull/1115/head
Hironsan 3 years ago
parent
commit
7f750687b4
2 changed files with 5 additions and 5 deletions
  1. 5
      frontend/components/containers/annotation/EntityItemBox.vue
  2. 5
      frontend/layouts/annotation.vue

5
frontend/components/containers/annotation/EntityItemBox.vue

@ -1,6 +1,5 @@
<template>
<div>
<clear-annotations-button />
<entity-item-box
v-if="isReady"
:labels="items"
@ -15,13 +14,11 @@
<script>
import { mapActions, mapGetters, mapState } from 'vuex'
import ClearAnnotationsButton from '@/components/containers/annotation/ClearAnnotationsButton.vue'
import EntityItemBox from '~/components/organisms/annotation/EntityItemBox'
export default {
components: {
EntityItemBox,
ClearAnnotationsButton
EntityItemBox
},
computed: {

5
frontend/layouts/annotation.vue

@ -39,6 +39,7 @@
v-model="filterOption"
/>
<guideline-button />
<clear-annotations-button />
</v-col>
<v-spacer />
<v-col>
@ -73,6 +74,7 @@
<script>
import { mapActions, mapGetters, mapState, mapMutations } from 'vuex'
import BottomNavigator from '@/components/containers/annotation/BottomNavigator'
import ClearAnnotationsButton from '@/components/containers/annotation/ClearAnnotationsButton.vue'
import GuidelineButton from '@/components/containers/annotation/GuidelineButton'
import MetadataBox from '@/components/organisms/annotation/MetadataBox'
import FilterButton from '@/components/containers/annotation/FilterButton'
@ -92,7 +94,8 @@ export default {
GuidelineButton,
FilterButton,
ApproveButton,
MetadataBox
MetadataBox,
ClearAnnotationsButton
},
fetch() {

Loading…
Cancel
Save