mirror of
https://github.com/cupcakearmy/cryptgeon.git
synced 2026-09-26 20:41:45 +00:00
17 lines
366 B
Svelte
17 lines
366 B
Svelte
<script lang="ts">
|
|
import prettyBytes from 'pretty-bytes'
|
|
import { _ } from 'svelte-intl-precompile'
|
|
|
|
import { status } from '$lib/stores/status'
|
|
|
|
// Payload is raw bytes (msgpack + cipher), no base64 padding overhead.
|
|
</script>
|
|
|
|
<span>
|
|
{#if $status !== null}
|
|
{prettyBytes($status.max_size, { binary: true })}
|
|
{:else}
|
|
{$_('common.loading')}
|
|
{/if}
|
|
</span>
|