Add missing window.toggleIndicatorExpand function

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.
This commit is contained in:
DiTus
2026-02-25 23:17:16 +01:00
parent dc2b7fc201
commit 8f6725a700

View File

@ -448,6 +448,11 @@ function setupEventListeners() {
} }
// Actions // Actions
window.toggleIndicatorExpand = function(id) {
configuringId = configuringId === id ? null : id;
renderIndicatorPanel();
};
window.clearSearch = function() { window.clearSearch = function() {
searchQuery = ''; searchQuery = '';
renderIndicatorPanel(); renderIndicatorPanel();