()
| 419 | remove.className = 'button analyticsSecondary'; |
| 420 | remove.textContent = t('analytics', 'Remove'); |
| 421 | const refreshAllChips = () => document.querySelectorAll('#transformCalculationList .analyticsTransformCalculation') |
| 422 | .forEach(item => item.refreshColumnChips()); |
| 423 | remove.onclick = () => { row.remove(); refreshAllChips(); }; |
| 424 | name.oninput = refreshAllChips; |
| 425 | heading.appendChild(remove); |