commit 9ab4fff13b8e1eba0ba9d094ddc4d5cb58c93d0e
parent 3bccff9eadc550d4afe6cf763c725beeeb4e1001
Author: Sebastian <sebasjm@taler-systems.com>
Date: Mon, 20 Jul 2026 19:18:37 -0300
timestamp is seconds, not ms
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/packages/taler-merchant-webui/src/utils/amount.ts b/packages/taler-merchant-webui/src/utils/amount.ts
@@ -39,7 +39,7 @@ export function mergeRefunds(
(tail = prev[prev.length - 1]).timestamp.t_s === "never" || // last does not have timestamp
cur.reason !== tail.reason || //different reason
cur.pending !== tail.pending || //different pending state
- Math.abs(cur.timestamp.t_s - tail.timestamp.t_s) > 1000 * 60
+ Math.abs(cur.timestamp.t_s - tail.timestamp.t_s) > 60
) {
//more than 1 minute difference