Browse Source

Merge pull request #668 from doccano/bugfix/fix-toolbar-valishment

Fix toolbar vanishment
pull/669/head
Hiroki Nakayama 4 years ago
committed by GitHub
parent
commit
a9455169e7
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 10 additions and 2 deletions
  1. 5
      frontend/components/containers/annotation/ApproveButton.vue
  2. 7
      frontend/layouts/annotation.vue

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

@ -4,6 +4,7 @@
<v-btn
v-on="on"
@click="approveDocument"
:disabled="disabled"
class="text-capitalize ps-1 pe-1"
min-width="36"
outlined
@ -30,6 +31,10 @@ export default {
type: Boolean,
default: false,
required: true
},
disabled: {
type: Boolean,
default: false
}
},

7
frontend/layouts/annotation.vue

@ -24,8 +24,11 @@
no-gutters
class="d-none d-sm-flex"
>
<v-col v-if="currentDoc">
<approve-button :approved="approved" />
<v-col>
<approve-button
:approved="approved"
:disabled="currentDoc ? false : true"
/>
<filter-button />
<guideline-button />
</v-col>

Loading…
Cancel
Save