fixed params display in analysis panel

This commit is contained in:
DiTus
2026-03-02 10:39:50 +01:00
parent c2f92cc5fb
commit 7191cd293f

View File

@ -310,8 +310,9 @@ export function calculateAllIndicatorSignals() {
label: indicator.type?.toUpperCase(),
params: indicator.params && typeof indicator.params === 'object'
? Object.entries(indicator.params)
.filter(([k, v]) => !k.startsWith('_') && v !== undefined && v !== null)
.filter(([k, v]) => !k.startsWith('_') && v !== undefined && v !== null && v !== '')
.map(([k, v]) => `${v}`)
.filter(v => v && v !== 'undefined')
.join(',')
: null,
type: indicator.type,