OHLC load fixes; package updates

This commit is contained in:
tim
2024-11-16 19:30:02 -04:00
parent a9bf23ddbb
commit bb4f7d4607
5 changed files with 265 additions and 226 deletions

View File

@@ -23,14 +23,11 @@ export function removeSymbolChangedCallback(cb) {
}
function symbolChanged(symbol) {
if (symbol===null)
co.selectedSymbol = null
else {
const info = lookupSymbol(symbol.ticker)
symbolChangedCbs.forEach((cb) => cb(info))
co.selectedSymbol = info
}
const info = symbol===null ? null : lookupSymbol(symbol.ticker)
co.selectedSymbol = info
symbolChangedCbs.forEach((cb) => cb(info))
updateFeeDropdown()
console.log('symbol changed', info)
}