mirror of
https://github.com/whoswhip/Sharpbin.git
synced 2026-12-06 02:48:43 +00:00
fix: show uncompressed size in stats
also renamed variables to make it more readable
This commit is contained in:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user