Fix missing export for removeIndicatorByIndex function

Added 'export' keyword to removeIndicatorByIndex function declaration so it can be imported by app.js
This commit is contained in:
DiTus
2026-02-25 22:41:12 +01:00
parent 844f3afd89
commit f1757da143

View File

@ -711,7 +711,7 @@ export const addIndicator = window.addIndicator;
export const removeIndicatorById = window.removeIndicatorById; export const removeIndicatorById = window.removeIndicatorById;
// Helper function for remove by index // Helper function for remove by index
function removeIndicatorByIndex(index) { export function removeIndicatorByIndex(index) {
if (index < 0 || index >= activeIndicators.length) return; if (index < 0 || index >= activeIndicators.length) return;
removeIndicatorById(activeIndicators[index].id); removeIndicatorById(activeIndicators[index].id);
} }