Fix template literal syntax by removing debug console.log

Removed the debug console.log line from inside template literal at line 329.
The console.log with embedded template literal variables was causing:
- "missing ) after argument list" syntax error
- Malformed template literal

Now the RSI parameter configuration should render correctly.

Users should:
1. Refresh browser to get new code
2. Add RSI indicator
3. Click to expand settings
4. Should see: RSI Length, Overbought Level (70), Oversold Level (30)
This commit is contained in:
DiTus
2026-02-25 23:35:53 +01:00
parent 6fdd129735
commit 1ca9bfb334

View File

@ -327,7 +327,6 @@ function renderIndicatorConfig(indicator, meta) {
<div class="section-subtitle">Parameters</div> <div class="section-subtitle">Parameters</div>
${meta.inputs.map(input => ` ${meta.inputs.map(input => `
${console.log("[DEBUG] Input:", input.name, "value:", indicator.params[input.name])}` ${console.log("[DEBUG] Input:", input.name, "value:", indicator.params[input.name])}`
<div class="config-row">
<label>${input.label}</label> <label>${input.label}</label>
${input.type === 'select' ? ${input.type === 'select' ?
`<select onchange="window.updateIndicatorSetting && window.updateIndicatorSetting('${indicator.id}', '${input.name}', this.value)"> `<select onchange="window.updateIndicatorSetting && window.updateIndicatorSetting('${indicator.id}', '${input.name}', this.value)">