Add debug logging for parameters rendering
Added console.log statements to debug why RSI band level parameters are not showing in the configuration panel. This will help identify if: 1. meta.inputs is undefined or empty 2. The inputs array is being filtered out 3. The condition meta?.inputs && meta.inputs.length > 0 is false
This commit is contained in:
@ -260,6 +260,8 @@ function renderPresetIndicatorIndicator(meta, indicator) {
|
||||
}
|
||||
|
||||
function renderIndicatorConfig(indicator, meta) {
|
||||
console.log('[renderIndicatorConfig] Rendering config for:', indicator.name, 'Inputs:', meta?.inputs?.length);
|
||||
|
||||
const plotGroups = groupPlotsByColor(meta?.plots || []);
|
||||
|
||||
return `
|
||||
@ -301,6 +303,7 @@ return `
|
||||
<div class="config-section">
|
||||
<div class="section-subtitle">Parameters</div>
|
||||
${meta.inputs.map(input => `
|
||||
${console.log("[DEBUG] Input:", input.name, "value:", indicator.params[input.name])}`
|
||||
<div class="config-row">
|
||||
<label>${input.label}</label>
|
||||
${input.type === 'select' ?
|
||||
|
||||
Reference in New Issue
Block a user