refactor: simplify listing fee to fixed USD, fix empty state i18n
This commit is contained in:
@@ -411,6 +411,9 @@ class PageHome extends HTMLElement {
|
|||||||
|
|
||||||
const searchBox = this.querySelector('search-box')
|
const searchBox = this.querySelector('search-box')
|
||||||
if (searchBox) searchBox.loadAndRender()
|
if (searchBox) searchBox.loadAndRender()
|
||||||
|
|
||||||
|
const emptyState = this.querySelector('.empty-state p')
|
||||||
|
if (emptyState) emptyState.textContent = this.hasActiveFilters() ? t('search.noResults') : t('home.noListings')
|
||||||
}
|
}
|
||||||
|
|
||||||
getListingsTitle() {
|
getListingsTitle() {
|
||||||
|
|||||||
Reference in New Issue
Block a user