fixed params display in analysis panel
This commit is contained in:
@ -310,8 +310,9 @@ export function calculateAllIndicatorSignals() {
|
|||||||
label: indicator.type?.toUpperCase(),
|
label: indicator.type?.toUpperCase(),
|
||||||
params: indicator.params && typeof indicator.params === 'object'
|
params: indicator.params && typeof indicator.params === 'object'
|
||||||
? Object.entries(indicator.params)
|
? 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}`)
|
.map(([k, v]) => `${v}`)
|
||||||
|
.filter(v => v && v !== 'undefined')
|
||||||
.join(',')
|
.join(',')
|
||||||
: null,
|
: null,
|
||||||
type: indicator.type,
|
type: indicator.type,
|
||||||
|
|||||||
Reference in New Issue
Block a user