Fix view-tab reactivity using direct onclick binding
- Change view-tabs from delegateEvent to direct onclick like hst-frontend - Remove hardcoded 'active' class from grid tab in HTML - Update active class immediately on click before state update - Update proxy target to tzrtech.org Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
@@ -63,7 +63,7 @@
|
||||
<span id="sel-count"></span>
|
||||
</div>
|
||||
<div class="view-tabs">
|
||||
<button class="view-tab active" data-view="grid">Grid</button>
|
||||
<button class="view-tab" data-view="grid">Grid</button>
|
||||
<button class="view-tab" data-view="tree">Tree</button>
|
||||
<button class="view-tab" data-view="graph">Graph</button>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user