fix: remove inline filter pills, keep only Filters button + dropdown panel
This commit is contained in:
+1
-3
@@ -1111,8 +1111,7 @@
|
|||||||
<button class="filter-toggle" id="filterToggle" onclick="toggleFilterPanel()">
|
<button class="filter-toggle" id="filterToggle" onclick="toggleFilterPanel()">
|
||||||
🎯 Filters <span id="filterCount" class="ft-count" style="display:none;">0</span>
|
🎯 Filters <span id="filterCount" class="ft-count" style="display:none;">0</span>
|
||||||
</button>
|
</button>
|
||||||
<div class="filter-scroll" id="filterPills"></div>
|
<button class="btn btn-outline btn-sm import-btn" onclick="showImportView()" style="margin-left:auto;">📥 Import</button>
|
||||||
<button class="btn btn-outline btn-sm import-btn" onclick="showImportView()">📥 Import</button>
|
|
||||||
</div>
|
</div>
|
||||||
<!-- Filter panel (collapsible) -->
|
<!-- Filter panel (collapsible) -->
|
||||||
<div class="filter-panel" id="filterPanel">
|
<div class="filter-panel" id="filterPanel">
|
||||||
@@ -3368,7 +3367,6 @@
|
|||||||
var assets = result.data;
|
var assets = result.data;
|
||||||
assetTotal = parseInt(result.headers.get('X-Total-Count')) || assets.length;
|
assetTotal = parseInt(result.headers.get('X-Total-Count')) || assets.length;
|
||||||
renderAssetList(assets);
|
renderAssetList(assets);
|
||||||
renderFilterPills(assets);
|
|
||||||
renderPagination();
|
renderPagination();
|
||||||
var countEl = document.getElementById('resultCount');
|
var countEl = document.getElementById('resultCount');
|
||||||
countEl.textContent = assetTotal + ' asset' + (assetTotal !== 1 ? 's' : '') + ' found';
|
countEl.textContent = assetTotal + ' asset' + (assetTotal !== 1 ? 's' : '') + ' found';
|
||||||
|
|||||||
Reference in New Issue
Block a user