Fix export error by removing non-existent removeIndicatorByIndex export
The removeIndicatorByIndex function was removed in the rewrite but export{} was
still trying to export it. Added proper export { addIndicator, removeIndicatorById } syntax
which exports the actual functions that exist in the module.
This commit is contained in:
@ -790,5 +790,7 @@ window.removeIndicator = function() {
|
|||||||
removeIndicatorById(configuringId);
|
removeIndicatorById(configuringId);
|
||||||
};
|
};
|
||||||
window.removeIndicatorById = removeIndicatorById;
|
window.removeIndicatorById = removeIndicatorById;
|
||||||
window.removeIndicatorByIndex = removeIndicatorByIndex;
|
|
||||||
window.drawIndicatorsOnChart = drawIndicatorsOnChart;
|
window.drawIndicatorsOnChart = drawIndicatorsOnChart;
|
||||||
|
|
||||||
|
// Export functions for module access (must be after all function declarations)
|
||||||
|
export { addIndicator, removeIndicatorById };
|
||||||
Reference in New Issue
Block a user