diff --git a/src/admin/components/navigation/tainacan-collection-subheader.vue b/src/admin/components/navigation/tainacan-collection-subheader.vue
index a7776ba23..7647402bc 100644
--- a/src/admin/components/navigation/tainacan-collection-subheader.vue
+++ b/src/admin/components/navigation/tainacan-collection-subheader.vue
@@ -13,94 +13,94 @@
-
-
-
-
-
-
-
+ :to="{ path: $routerHelper.getCollectionMetadataPath(id) }"
+ :aria-label="$i18n.get('label_collection_metadata')">
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
@@ -141,7 +141,7 @@ export default {
},
methods: {
...mapActions('collection', [
- 'fetchCollectionName'
+ 'fetchCollectionNameAndURL'
]),
...mapGetters('collection', [
'getCollectionName',
@@ -172,8 +172,8 @@ export default {
switch(this.arrayRealPath[i-1]) {
case 'collections':
- this.fetchCollectionName(this.arrayRealPath[i])
- .then(collectionName => this.arrayViewPath.splice(i, 1, collectionName))
+ this.fetchCollectionNameAndURL(this.arrayRealPath[i])
+ .then(collection => this.arrayViewPath.splice(i, 1, collection.name))
.catch((error) => this.$console.error(error));
break;
diff --git a/src/admin/components/navigation/tainacan-title.vue b/src/admin/components/navigation/tainacan-title.vue
index 23a43771f..b75c46708 100644
--- a/src/admin/components/navigation/tainacan-title.vue
+++ b/src/admin/components/navigation/tainacan-title.vue
@@ -46,7 +46,7 @@ export default {
},
methods: {
...mapActions('collection', [
- 'fetchCollectionName'
+ 'fetchCollectionNameAndURL'
]),
...mapGetters('collection', [
'getCollectionName'
@@ -79,8 +79,8 @@ export default {
switch(this.arrayRealPath[i-1]) {
case 'collections':
- this.fetchCollectionName(this.arrayRealPath[i])
- .then(collectionName => { this.arrayViewPath.splice(i, 1, collectionName); this.entityName = collectionName; })
+ this.fetchCollectionNameAndURL(this.arrayRealPath[i])
+ .then(collection => { this.arrayViewPath.splice(i, 1, collection.name); this.entityName = collection.name; })
.catch((error) => this.$console.error(error));
break;
case 'items':