Enhance category extraction in useMarket and update MarketPage layout
- Added functionality to extract categories from Nostr event tags in the useMarket composable, improving product categorization. - Updated MarketPage layout to ensure proper rendering of category filters, enhancing the user interface for browsing by category. These changes improve the clarity and usability of product categorization within the market module.
This commit is contained in:
parent
526caa2689
commit
7334437b77
2 changed files with 18 additions and 4 deletions
|
|
@ -52,10 +52,11 @@
|
|||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
<!-- Enhanced Category Filters -->
|
||||
<div v-if="marketStore.allCategories.length > 0" class="mb-6">
|
||||
<div class="flex items-center justify-between mb-3">
|
||||
<h3 class="text-lg font-semibold text-gray-700">Browse by Category</h3>
|
||||
<div class="flex items-center justify-between mb-3">
|
||||
<h3 class="text-lg font-semibold text-gray-700">Browse by Category</h3>
|
||||
<Button
|
||||
v-if="selectedCategoriesCount > 0"
|
||||
@click="clearAllCategoryFilters"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue