taler-typescript-core

Wallet core logic and WebUIs for various components
Log | Files | Refs | Submodules | README | LICENSE

commit 76f3faeda4ca3976cf50862c057a5fd97bc8b07c
parent f02b988c0fa7380676f6ec28216ba33b4d335056
Author: Sebastian <sebasjm@taler-systems.com>
Date:   Wed, 22 Jul 2026 16:35:01 -0300

show success when value is found

Diffstat:
Mpackages/taler-auditor-webui/src/paths/security/ListPage.tsx | 5++---
1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/packages/taler-auditor-webui/src/paths/security/ListPage.tsx b/packages/taler-auditor-webui/src/paths/security/ListPage.tsx @@ -46,8 +46,7 @@ export function ListPage(data: any): VNode { {data["data"]["data"][0].map((x: any) => { const key = Object.keys(x.data)[0]; let value = Object.values(x.data)[0]; - console.log(value); - if (!!value) value = 0; + if (value === undefined) value = 0; const paramName = key[0].toUpperCase() + key @@ -61,7 +60,7 @@ export function ListPage(data: any): VNode { <td>{paramName}</td> <td class="has-text-right"> <p - class={value == 0 ? "text-success" : "text-danger"} + class={value !== 0 ? "text-success" : "text-danger"} > {String(value)} </p>