File tree Expand file tree Collapse file tree 2 files changed +16
-4
lines changed
frontend/pages/projects/_id Expand file tree Collapse file tree 2 files changed +16
-4
lines changed Original file line number Diff line number Diff line change 5
5
no-gutters
6
6
class =" d-none d-sm-flex"
7
7
>
8
- <v-col >
8
+ <v-col v-if =" currentDoc" >
9
+ <approve-button :approved =" approved" />
10
+ <filter-button />
9
11
<guideline-button />
10
12
</v-col >
11
13
<v-spacer />
@@ -34,21 +36,25 @@ import Seq2seqContainer from '~/components/containers/annotation/Seq2seqContaine
34
36
import Paginator from ' ~/components/containers/annotation/Paginator'
35
37
import GuidelineButton from ' @/components/containers/annotation/GuidelineButton'
36
38
import MetadataBox from ' @/components/organisms/annotation/MetadataBox'
39
+ import FilterButton from ' @/components/containers/annotation/FilterButton'
40
+ import ApproveButton from ' @/components/containers/annotation/ApproveButton'
37
41
38
42
export default {
39
43
layout: ' annotation' ,
40
44
41
45
middleware: [' check-auth' , ' auth' ],
42
46
43
47
components: {
48
+ ApproveButton,
49
+ FilterButton,
44
50
Seq2seqContainer,
45
51
Paginator,
46
52
GuidelineButton,
47
53
MetadataBox
48
54
},
49
55
50
56
computed: {
51
- ... mapGetters (' documents' , [' currentDoc' ])
57
+ ... mapGetters (' documents' , [' currentDoc' , ' approved ' ])
52
58
},
53
59
54
60
validate ({ params }) {
Original file line number Diff line number Diff line change 5
5
no-gutters
6
6
class =" d-none d-sm-flex"
7
7
>
8
- <v-col >
8
+ <v-col v-if =" currentDoc" >
9
+ <approve-button :approved =" approved" />
10
+ <filter-button />
9
11
<guideline-button />
10
12
</v-col >
11
13
<v-spacer />
@@ -34,21 +36,25 @@ import TextClassification from '~/components/containers/annotation/TextClassific
34
36
import Paginator from ' ~/components/containers/annotation/Paginator'
35
37
import GuidelineButton from ' @/components/containers/annotation/GuidelineButton'
36
38
import MetadataBox from ' @/components/organisms/annotation/MetadataBox'
39
+ import FilterButton from ' @/components/containers/annotation/FilterButton'
40
+ import ApproveButton from ' @/components/containers/annotation/ApproveButton'
37
41
38
42
export default {
39
43
layout: ' annotation' ,
40
44
41
45
middleware: [' check-auth' , ' auth' ],
42
46
43
47
components: {
48
+ ApproveButton,
49
+ FilterButton,
44
50
TextClassification,
45
51
Paginator,
46
52
GuidelineButton,
47
53
MetadataBox
48
54
},
49
55
50
56
computed: {
51
- ... mapGetters (' documents' , [' currentDoc' ])
57
+ ... mapGetters (' documents' , [' currentDoc' , ' approved ' ])
52
58
},
53
59
54
60
validate ({ params }) {
You can’t perform that action at this time.
0 commit comments