Skip to main content

max / makenotwork

Hide Files tab for bundle items Bundles are groups of other items — they don't have their own file uploads. The bundle contents are managed in the Details tab. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Author: Max J. <87768334+MaxJMath@users.noreply.github.com> · 2026-05-10 18:28 UTC
Commit: ad1798fa3e4b1c91d6a33e9c00c71d3878fb0f3c
Parent: 1122609
1 file changed, +2 insertions, -0 deletions
@@ -82,6 +82,7 @@
82 82 hx-swap="innerHTML"
83 83 hx-indicator="#tab-spinner"
84 84 onclick="setActiveTab(this)">Pricing</button>
85 + {% if item.item_type != "bundle" %}
85 86 <button class="tab"
86 87 role="tab"
87 88 aria-selected="false"
@@ -93,6 +94,7 @@
93 94 hx-swap="innerHTML"
94 95 hx-indicator="#tab-spinner"
95 96 onclick="setActiveTab(this)">Files</button>
97 + {% endif %}
96 98 <button class="tab"
97 99 role="tab"
98 100 aria-selected="false"