Skip to content
Snippets Groups Projects
Verified Commit 09d3f1e8 authored by Erwan Rouchet's avatar Erwan Rouchet
Browse files

Fix feature detection on Transkribus import button

parent aea0f37b
No related branches found
No related tags found
1 merge request!1492Fix feature detection on Transkribus import button
......@@ -71,7 +71,7 @@ export default {
},
computed: {
...mapState('corpora', ['corpora']),
...mapGetters('auth', ['isLoggedOn']),
...mapGetters('auth', ['isLoggedOn', 'hasFeature']),
tabs () {
if (this.isLoggedOn) {
return {
......@@ -91,9 +91,6 @@ export default {
if (!this.corpora) return {}
return Object.values(this.corpora).filter(corpus => corpus.public === false)
}
},
methods: {
...mapGetters('auth', ['hasFeature'])
}
}
</script>
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment