feat: true total paste size; always map the openapi route

style: format via csharpier
This commit is contained in:
2026-02-06 18:28:32 -05:00
parent d04e2962b5
commit 6b32994d16
3 changed files with 211 additions and 150 deletions
@@ -72,7 +72,7 @@
</div>
<div>
<p class="text-sm text-neutral-400">Total Storage Used</p>
<p class="text-2xl font-bold">{formatBytes(stats.pastes.totalSizeInBytes)}</p>
<p class="text-2xl font-bold" use:tooltip={[formatBytes(stats.pastes.trueTotalSizeInBytes), true]}>{formatBytes(stats.pastes.totalSizeInBytes)}</p>
</div>
</div>
<div class="flex items-center space-x-4 rounded-lg bg-neutral-800 p-4">