Rename Collections Modules to Content Module (#9441)

* Rename collections->content module

* Replace collection name

* Replace some loose ends
This commit is contained in:
Rijk van Zanten
2021-11-03 18:34:55 -04:00
committed by GitHub
parent 47a29dfd16
commit caa053a467
23 changed files with 64 additions and 63 deletions

View File

@@ -106,7 +106,7 @@ export default defineComponent({
return [
{
name: t('collection', 2),
to: `/collections`,
to: `/content`,
},
];
});

View File

@@ -90,7 +90,7 @@ export default defineComponent({
const openItemLink = computed(() => {
if (!item.value || item.value.collection.startsWith('directus_')) return;
return `/collections/${item.value.collection}/${encodeURIComponent(item.value.item)}`;
return `/content/${item.value.collection}/${encodeURIComponent(item.value.item)}`;
});
watch(() => props.primaryKey, loadActivity, { immediate: true });