diff --git a/src/svelte/elem/UploadWindow.svelte b/src/svelte/elem/UploadWindow.svelte index c32dd9f..49cffb3 100644 --- a/src/svelte/elem/UploadWindow.svelte +++ b/src/svelte/elem/UploadWindow.svelte @@ -1,22 +1,22 @@
- {$serverStats.version ? `v${$serverStats.version}` : "•••"} — Discord based file sharing + {$serverStats.version ? `v${$serverStats.version}` : "•••"} — Discord based file sharing
- +{upload[1].uploadStatus.error ?? "Uploading..."}
++ {upload[1].uploadStatus.error ?? + "Uploading..."} +
{/if} {#if upload[1].uploadStatus.fileId} - + {#if !upload[1].viewingUrl} - - + {#if uploadInProgress == false} - - {#if ($serverStats.accounts||{}).requiredForUpload ? !!$account.username : true} - -Please log in to upload files.
- - ++ Please log in to upload files. +
+ {/if} - {/if} - +
- Hosting {$serverStats.files || "•••"} files
- —
- Maximum filesize is {(($serverStats.maxDiscordFileSize || 0)*($serverStats.maxDiscordFiles || 0))/1048576 || "•••"}MiB
+ Hosting {$serverStats.files || "•••"}
+ files — Maximum filesize is
+ {(($serverStats.maxDiscordFileSize || 0) *
+ ($serverStats.maxDiscordFiles || 0)) /
+ 1048576 || "•••"}MiB
- Made with {Math.floor(Math.random()*10)==0 ? "🐟" : "❤"} by Etcetera — source + Made with {Math.floor(Math.random() * 10) == 0 ? "🐟" : "❤"} by + Etcetera + — + source
-