|
|
@ -43,7 +43,7 @@ |
|
|
|
</v-col> |
|
|
|
<v-col cols="12" md="3"> |
|
|
|
<metadata-box |
|
|
|
v-if="currentDoc" |
|
|
|
v-if="currentDoc && !loading" |
|
|
|
:metadata="JSON.parse(currentDoc.meta)" |
|
|
|
/> |
|
|
|
</v-col> |
|
|
@ -56,7 +56,7 @@ |
|
|
|
</template> |
|
|
|
|
|
|
|
<script> |
|
|
|
import { mapActions, mapGetters } from 'vuex' |
|
|
|
import { mapActions, mapGetters, mapState } from 'vuex' |
|
|
|
import BottomNavigator from '@/components/containers/annotation/BottomNavigator' |
|
|
|
import GuidelineButton from '@/components/containers/annotation/GuidelineButton' |
|
|
|
import MetadataBox from '@/components/organisms/annotation/MetadataBox' |
|
|
@ -87,6 +87,7 @@ export default { |
|
|
|
|
|
|
|
computed: { |
|
|
|
...mapGetters('projects', ['getLink', 'getCurrentUserRole']), |
|
|
|
...mapState('documents', ['loading']), |
|
|
|
...mapGetters('documents', ['currentDoc', 'approved']) |
|
|
|
}, |
|
|
|
|
|
|
|