aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorAdam Soltys <[email protected]>2025-05-12 17:25:00 -0700
committerAdam Soltys <[email protected]>2025-05-12 17:25:00 -0700
commit3a5794489aa28bd5ab36c61ea3b2d784f7c3bc59 (patch)
treeb3426eac6feca3505ea773a01fc998a4caa3a94c /src
parent764d3cf7b5469432c1854fa5c377ca9762e45a41 (diff)
downloadcoinos-ui-3a5794489aa28bd5ab36c61ea3b2d784f7c3bc59.tar.gz
coinos-ui-3a5794489aa28bd5ab36c61ea3b2d784f7c3bc59.zip
update notice
Diffstat (limited to 'src')
-rw-r--r--src/components/Account.svelte2
-rw-r--r--src/components/Balance.svelte4
-rw-r--r--src/locales/en.json2
-rw-r--r--src/routes/(app)/[username]/(profile)/+page.svelte2
4 files changed, 5 insertions, 5 deletions
diff --git a/src/components/Account.svelte b/src/components/Account.svelte
index a30766ce..ec61850d 100644
--- a/src/components/Account.svelte
+++ b/src/components/Account.svelte
@@ -23,7 +23,7 @@
aria-label="Payments"
>
<div class="flex">
- <Balance {balance} {user} {rate} />
+ <Balance {balance} {user} {rate} {id} />
</div>
<div class="flex justify-center w-full text-xl gap-2">
diff --git a/src/components/Balance.svelte b/src/components/Balance.svelte
index 8420b74c..c593dbb6 100644
--- a/src/components/Balance.svelte
+++ b/src/components/Balance.svelte
@@ -6,7 +6,7 @@
import { t } from "$lib/translations";
let show = $state();
- let { user, rate, balance } = $props();
+ let { id, user, rate, balance } = $props();
let { currency, locked } = $derived(user);
let locale = loc(user);
let toggleShow = (e) => {
@@ -36,7 +36,7 @@
{locale}
align="left"
/>
- {#if locked}
+ {#if locked && user.id === id}
<div class="text-red-600">
<Amount
amount={locked}
diff --git a/src/locales/en.json b/src/locales/en.json
index 1b3276e0..486ebaee 100644
--- a/src/locales/en.json
+++ b/src/locales/en.json
@@ -1,5 +1,5 @@
{
- "incident": "Funds deposited before May 10 are locked pending recovery from a data loss incident. Follow us on Nostr for updates.",
+ "incident": "NOTICE: Funds deposited before May 10 are temporarily locked while we attempt to recover from a data loss incident. We had to restore our database from a day-old backup so we need to ensure that balances and payment history are corrected to account for all activity that occurred during that period before we can release funds. We don't have an ETA at this time but we are working diligently to resolve the issue. We are sincerely sorry for the inconvenience.",
"funds": {
"anyone": "Anyone with the link",
"addManager": "Add manager",
diff --git a/src/routes/(app)/[username]/(profile)/+page.svelte b/src/routes/(app)/[username]/(profile)/+page.svelte
index 04a565ee..d064c3a9 100644
--- a/src/routes/(app)/[username]/(profile)/+page.svelte
+++ b/src/routes/(app)/[username]/(profile)/+page.svelte
@@ -40,7 +40,7 @@
</div>
{#if locked}
- <div class="text-sm text-gray-400 font-bold">
+ <div class="text-sm">
{$t("incident")}
</div>
{/if}