mirror of
https://github.com/whoswhip/Sharpbin.git
synced 2026-12-05 18:48:41 +00:00
fix: adjust tooltip formatting for decrypted size display
This commit is contained in:
@@ -535,9 +535,9 @@
|
||||
class="flex"
|
||||
use:tooltip={`${
|
||||
data.paste.isCompressed ? `Compressed Size: ${formatBytes(data.paste.size)}` : ''
|
||||
} • ${
|
||||
}${
|
||||
data.paste.visibility === 2
|
||||
? `Decrypted Size: ${formatBytes(decryptedContent ? new TextEncoder().encode(decryptedContent).length : 0)}`
|
||||
? ` • Decrypted Size: ${formatBytes(decryptedContent ? new TextEncoder().encode(decryptedContent).length : 0)}`
|
||||
: ''
|
||||
}`}
|
||||
>
|
||||
|
||||
Reference in New Issue
Block a user