From 5a7098c1375b613a9a98d152c13b02569e4327ee Mon Sep 17 00:00:00 2001 From: Samir Boulahtit Date: Thu, 25 Dec 2025 00:11:00 +0100 Subject: [PATCH] fix: add missing ban icon and fix products tab loading MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - Add 'ban' icon to icons.js for empty state displays - Fix products tab to load when no vendor filter is selected 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 --- static/admin/js/marketplace-letzshop.js | 3 ++- static/shared/js/icons.js | 1 + 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/static/admin/js/marketplace-letzshop.js b/static/admin/js/marketplace-letzshop.js index 7e7bbf5a..d2423986 100644 --- a/static/admin/js/marketplace-letzshop.js +++ b/static/admin/js/marketplace-letzshop.js @@ -160,7 +160,8 @@ function adminMarketplaceLetzshop() { marketplaceLetzshopLog.info('Tab changed to:', newTab); if (newTab === 'jobs' && this.selectedVendor) { await this.loadJobs(); - } else if (newTab === 'products' && this.selectedVendor) { + } else if (newTab === 'products') { + // Load products for selected vendor or all Letzshop products await this.loadProducts(); } else if (newTab === 'orders') { await this.loadOrders(); diff --git a/static/shared/js/icons.js b/static/shared/js/icons.js index bdf94d30..e868d383 100644 --- a/static/shared/js/icons.js +++ b/static/shared/js/icons.js @@ -137,6 +137,7 @@ const Icons = { 'clipboard-list': ``, 'check-circle': ``, 'x-circle': ``, + 'ban': ``, 'lightning-bolt': ``, 'clock': ``, 'lock-closed': ``,