diff --git a/svelte/src/user_home/EmbeddingControls.svelte b/svelte/src/user_home/EmbeddingControls.svelte index db422d9..f165e75 100644 --- a/svelte/src/user_home/EmbeddingControls.svelte +++ b/svelte/src/user_home/EmbeddingControls.svelte @@ -65,8 +65,8 @@ onMount(() => { The list should be formatted as a list of domain names separated by a space. Like this: 'pixeldrain.com google.com twitter.com'

+ Domain names:
-
Domain names:
diff --git a/svelte/src/user_home/Home.svelte b/svelte/src/user_home/Home.svelte index 92ece95..9cec666 100644 --- a/svelte/src/user_home/Home.svelte +++ b/svelte/src/user_home/Home.svelte @@ -257,7 +257,7 @@ onDestroy(() => { {formatDataVolume(transfer_used, 3)} out of {formatDataVolume(transfer_cap, 3)} - (Set your transfer limit on the subscription page) + (Set your transfer limit on the sharing page) {/if} @@ -328,7 +328,7 @@ onDestroy(() => { your subscription plan. These can be files you downloaded from other people, or other people downloading your files if you have bandwidth sharing enabled. Bandwidth sharing can be changed on - the subscription page. + the sharing page.

diff --git a/svelte/src/user_home/Transactions.svelte b/svelte/src/user_home/Transactions.svelte index 7ad9ad7..bc7f308 100644 --- a/svelte/src/user_home/Transactions.svelte +++ b/svelte/src/user_home/Transactions.svelte @@ -50,7 +50,8 @@ const load_transactions = async () => { month.total_deducted += row.subscription_charge + row.storage_charge + row.bandwidth_charge }) - month.total_storage_used /= month.rows.length + // Divide the total storage usage by the number of days in a month + month.total_storage_used /= 30.4375 transactions = month } catch (err) {