Fix errors in Navbar tag type
We were trying to use "tag" instead of "this.tag" and expecting it to be a String instead of an Object
This commit is contained in:
parent
ec8a91a95e
commit
bc26ddef61
1 changed files with 2 additions and 2 deletions
|
@ -11,7 +11,7 @@
|
||||||
<header class="read-next-card-header">
|
<header class="read-next-card-header">
|
||||||
<small class="read-next-card-header-sitetitle">— {{ Admin.site.title }} —</small>
|
<small class="read-next-card-header-sitetitle">— {{ Admin.site.title }} —</small>
|
||||||
<h3 class="read-next-card-header-title">
|
<h3 class="read-next-card-header-title">
|
||||||
<a :href="tag.path">{{ tag.title.replace('-', ' ') | capitalizeFilter }}</a>
|
<a :href="this.tag.path">{{ this.tag.title.replace('-', ' ') | capitalizeFilter }}</a>
|
||||||
</h3>
|
</h3>
|
||||||
</header>
|
</header>
|
||||||
<div class="read-next-divider">
|
<div class="read-next-divider">
|
||||||
|
@ -60,7 +60,7 @@ export default {
|
||||||
type: String
|
type: String
|
||||||
},
|
},
|
||||||
tag: {
|
tag: {
|
||||||
type: String
|
type: Object
|
||||||
},
|
},
|
||||||
posts: {
|
posts: {
|
||||||
type: Array
|
type: Array
|
||||||
|
|
Loading…
Reference in a new issue