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
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with
10 additions and
2 deletions
-
frontend/components/containers/annotation/ApproveButton.vue
-
frontend/layouts/annotation.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 |
|
|
|
} |
|
|
|
}, |
|
|
|
|
|
|
|
|
|
@ -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> |
|
|
|