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

7
frontend/layouts/annotation.vue

@ -24,8 +24,11 @@
no-gutters no-gutters
class="d-none d-sm-flex" 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 /> <filter-button />
<guideline-button /> <guideline-button />
</v-col> </v-col>

Loading…
Cancel
Save