fix: link category badge to home page instead of deprecated search route
This commit is contained in:
@@ -185,7 +185,7 @@ class PageListing extends HTMLElement {
|
|||||||
|
|
||||||
<!-- Header -->
|
<!-- Header -->
|
||||||
<header class="listing-header">
|
<header class="listing-header">
|
||||||
${categoryName ? `<a href="#/search?category=${this.listing.category?.slug}" class="badge badge-primary">${escapeHTML(categoryName)}</a>` : ''}
|
${categoryName ? `<a href="#/?category=${this.listing.category?.slug}" class="badge badge-primary">${escapeHTML(categoryName)}</a>` : ''}
|
||||||
<h1>${escapeHTML(this.listing.title)}</h1>
|
<h1>${escapeHTML(this.listing.title)}</h1>
|
||||||
<div class="listing-price-wrapper">
|
<div class="listing-price-wrapper">
|
||||||
<p class="listing-price">${priceInfo.primary}</p>
|
<p class="listing-price">${priceInfo.primary}</p>
|
||||||
|
|||||||
Reference in New Issue
Block a user