@ -12,6 +12,5 @@ export default {
components: {
TheHeader
},
middleware: ['check-auth']
}
</script>
@ -65,7 +65,7 @@ export default {
singleLabel: true,
currentDoc: {
id: 8,
filename: '~/assets/6737785.png',
filename: require('~/assets/6737785.png'),
annotations: [
{
id: 17,
@ -8,7 +8,7 @@
<label-group
:labels="items"
:annotations="currentDoc.annotations"
single-label="true"
:single-label="singleLabel"
@add="addLabel"
@remove="removeLabel"
/>
@ -41,6 +41,7 @@ export default {
data() {
return {
items: [
id: 4,