fix: show uncompressed size in stats

also renamed variables to make it more readable
This commit is contained in:
2026-06-14 12:40:19 -04:00
parent c6ba7b2ea9
commit 61efbf8b04
3 changed files with 9 additions and 9 deletions
@@ -81,11 +81,11 @@
<p
class="text-2xl font-bold"
use:tooltip={[
`${stats.pastes.trueTotalSizeInBytes != stats.pastes.totalSizeInBytes ? `Uncompressed Size: ${formatBytes(stats.pastes.trueTotalSizeInBytes)}` : ''}`,
`${stats.pastes.totalStoredSizeInBytes != stats.pastes.totalOriginalSizeInBytes ? `Uncompressed Size: ${formatBytes(stats.pastes.totalOriginalSizeInBytes)}` : ''}`,
true
]}
>
{formatBytes(stats.pastes.totalSizeInBytes)}
{formatBytes(stats.pastes.totalStoredSizeInBytes)}
</p>
</div>
</div>