fix: show Products tab without vendor filter
Remove x-if="selectedVendor" condition from Products tab button and panel so products are visible when no vendor is selected. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
@@ -122,9 +122,7 @@
|
||||
|
||||
<!-- Tabs -->
|
||||
{% call tabs_nav(tab_var='activeTab') %}
|
||||
<template x-if="selectedVendor">
|
||||
<span>{{ tab_button('products', 'Products', tab_var='activeTab', icon='cube') }}</span>
|
||||
</template>
|
||||
{{ tab_button('products', 'Products', tab_var='activeTab', icon='cube') }}
|
||||
{{ tab_button('orders', 'Orders', tab_var='activeTab', icon='shopping-cart', count_var='orderStats.pending') }}
|
||||
{{ tab_button('exceptions', 'Exceptions', tab_var='activeTab', icon='exclamation-circle', count_var='exceptionStats.pending') }}
|
||||
<template x-if="selectedVendor">
|
||||
@@ -135,12 +133,10 @@
|
||||
</template>
|
||||
{% endcall %}
|
||||
|
||||
<!-- Products Tab (Import + Export) - Vendor only -->
|
||||
<template x-if="selectedVendor">
|
||||
{{ tab_panel('products', tab_var='activeTab') }}
|
||||
{% include 'admin/partials/letzshop-products-tab.html' %}
|
||||
{{ endtab_panel() }}
|
||||
</template>
|
||||
<!-- Products Tab -->
|
||||
{{ tab_panel('products', tab_var='activeTab') }}
|
||||
{% include 'admin/partials/letzshop-products-tab.html' %}
|
||||
{{ endtab_panel() }}
|
||||
|
||||
<!-- Orders Tab -->
|
||||
{{ tab_panel('orders', tab_var='activeTab') }}
|
||||
|
||||
Reference in New Issue
Block a user