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

Merge branch 'no-repo-types' into 'master'

Remove repository.type from the frontend

Closes #1017

See merge request !1306
parents dd63aecc fafb8a17
No related branches found
No related tags found
1 merge request!1306Remove repository.type from the frontend
......@@ -19,7 +19,6 @@
<thead>
<tr>
<th>URL</th>
<th>Type</th>
<th>Project</th>
<th v-if="hasFeature('workers')">Workers</th>
<th>Users</th>
......
......@@ -15,11 +15,6 @@
</div>
</div>
</td>
<td>
<template v-if="isIIIF">IIIF</template>
<template v-else-if="isWorker">Workers</template>
<template v-else>Unknown</template>
</td>
<td>
<template v-if="!repoCorpora.length">
<template v-if="isIIIF">
......@@ -82,12 +77,6 @@ export default {
...mapGetters('auth', ['isVerified', 'hasFeature']),
repoCorpora () {
return Object.values(this.corpora).filter(c => this.repo.corpora.includes(c.id))
},
isIIIF () {
return this.repo.type === 'iiif'
},
isWorker () {
return this.repo.type === 'worker'
}
}
}
......
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