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:
@ -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);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user