From 801fbb8918051f34dcae77d8b7c5638dd927a3f4 Mon Sep 17 00:00:00 2001 From: Coracle-Bot Date: Sat, 12 Sep 2026 03:29:19 +0000 Subject: [PATCH] Total zap goals in millisats through welshman --- src/app/components/GoalCreate.svelte | 4 +- src/app/components/GoalSummary.svelte | 45 +++++-------------- .../components/NoteContentMinimalGoal.svelte | 28 +++--------- 3 files changed, 19 insertions(+), 58 deletions(-) diff --git a/src/app/components/GoalCreate.svelte b/src/app/components/GoalCreate.svelte index 4d9d1a33..b2f0bd41 100644 --- a/src/app/components/GoalCreate.svelte +++ b/src/app/components/GoalCreate.svelte @@ -1,6 +1,6 @@
-

{zapAmount} sats

-

funded of {goalAmount} sats

+

{fromMsats($progress.amount)} sats

+

funded of {fromMsats($progress.target)} sats

-

{contributorsCount}

-

{contributorsCount === 1 ? "contributor" : "contributors"}

+

{$progress.contributors.length}

+

+ {$progress.contributors.length === 1 ? "contributor" : "contributors"} +

{daysOld}

{daysOld === 1 ? "day" : "days"} old

- + Contribute to this goal diff --git a/src/app/components/NoteContentMinimalGoal.svelte b/src/app/components/NoteContentMinimalGoal.svelte index d8ccefd5..cb9cb3ab 100644 --- a/src/app/components/NoteContentMinimalGoal.svelte +++ b/src/app/components/NoteContentMinimalGoal.svelte @@ -1,16 +1,13 @@
{title}
- {zapAmount}/{goalAmount} sats funded + {fromMsats($progress.amount)}/{fromMsats($progress.target)} sats funded