Fixes hideHomeCollectionCreateNewButton variable.
This commit is contained in:
parent
937a24ddcb
commit
b3d659e3f5
|
@ -74,7 +74,7 @@
|
||||||
</li>
|
</li>
|
||||||
</ul>
|
</ul>
|
||||||
<ul v-if="collections.length > 0 && !isLoading">
|
<ul v-if="collections.length > 0 && !isLoading">
|
||||||
<li v-if="!$adminOptions.hideHomeCreateNewCollectionButton && $userCaps.hasCapability('tnc_rep_edit_collections')">
|
<li v-if="!$adminOptions.hideHomeCollectionCreateNewButton && $userCaps.hasCapability('tnc_rep_edit_collections')">
|
||||||
<router-link
|
<router-link
|
||||||
tag="a"
|
tag="a"
|
||||||
:to="$routerHelper.getNewCollectionPath()"
|
:to="$routerHelper.getNewCollectionPath()"
|
||||||
|
@ -147,7 +147,7 @@
|
||||||
class="tainacan-card"
|
class="tainacan-card"
|
||||||
:class="{ 'always-visible-collections': $adminOptions.homeCollectionsPerPage }">
|
:class="{ 'always-visible-collections': $adminOptions.homeCollectionsPerPage }">
|
||||||
<ul class="menu-list">
|
<ul class="menu-list">
|
||||||
<li v-if="!$adminOptions.hideHomeCollectionCreateNewButton">
|
<li>
|
||||||
<router-link
|
<router-link
|
||||||
tag="a"
|
tag="a"
|
||||||
:to="{ path: $routerHelper.getCollectionItemsPath(collection.id, '') }"
|
:to="{ path: $routerHelper.getCollectionItemsPath(collection.id, '') }"
|
||||||
|
|
Loading…
Reference in New Issue