The toggleIndicatorExpand function was called in the HTML template and event listener but was never defined. Added the function definition which toggles configuringId between the clicked indicator ID and null, then re-renders the panel to show/hide settings.