Adds link to current collection in admin colleciton name.

This commit is contained in:
mateuswetah 2022-03-02 11:12:21 -03:00
parent a34f173bef
commit 70660e8409
1 changed files with 4 additions and 2 deletions

View File

@ -26,7 +26,9 @@
v-else
:style="$adminOptions.hideCollectionSubheader ? 'margin-right: auto;' : ''">
{{ $i18n.get('collection') + '' }}
<span class="has-text-weight-bold">
<router-link
:to="$routerHelper.getCollectionPath(collection.id)"
class="has-text-weight-bold has-text-white">
{{ collection && collection.name ? collection.name : '' }}
<span
v-if="collection && collection.status && $statusHelper.hasIcon(collection.status)"
@ -42,7 +44,7 @@
:class="$statusHelper.getIcon(collection.status)"
/>
</span>
</span>
</router-link>
</h1>
<ul class="repository-subheader-icons">