minor: add items cached count to debug page inventory cache

This commit is contained in:
Index 2024-08-19 18:21:16 -05:00
parent 8ef22bf1cc
commit 29539ac59e

View file

@ -409,7 +409,7 @@ if (window.location.pathname.split('/')[3] === 'polyplus' && window.location.has
<div class="card-header">
<span class="badge bg-secondary" style="margin-right: 5px; vertical-align: text-bottom;">Local</span>
Inventory Cache
<small class="text-muted" style="font-size: 0.7rem;">(cached for 5 minutes)</small>
<small class="text-muted" style="font-size: 0.7rem;">(cached for 5 minutes, ${local.PolyPlus_InventoryCache.data.length} items cached)</small>
</div>
</a>
<div class="card-body collapse" id="inventory-cache">