Browse Source

Fix toolbar vanishment, resolves #587

pull/668/head
Hironsan 4 years ago
parent
commit
89efbbf3be
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