This commit is contained in:
Tim
2024-03-13 15:55:22 -04:00
parent 35856a4edb
commit 90723ba4ed

View File

@@ -211,7 +211,7 @@ export const DataFeed = {
co.selectedSymbol = symbolItem co.selectedSymbol = symbolItem
const pool = symbolItem.pools[Math.trunc(symbolItem.pools.length/2)]; const pool = symbolItem.pools[Math.trunc(symbolItem.pools.length/2)];
// noinspection JSValidateTypes // noinspection JSValidateTypes
co.selectedPool = [pool] co.selectedPool = pool
updateFeeDropdown() updateFeeDropdown()
// Symbol information object // Symbol information object
const symbolInfo = { const symbolInfo = {
@@ -269,6 +269,7 @@ export const DataFeed = {
const chainId = useStore().chainId; const chainId = useStore().chainId;
const poolAddr = useChartOrderStore().selectedPool[0]; const poolAddr = useChartOrderStore().selectedPool[0];
const period = tvResolutionToPeriodString(resolution); const period = tvResolutionToPeriodString(resolution);
console.log('poolAddr', poolAddr)
subscriptions[subscriberUID] = [chainId, poolAddr, period] subscriptions[subscriberUID] = [chainId, poolAddr, period]
subOHLC(chainId, poolAddr, period) subOHLC(chainId, poolAddr, period)
return; // disable return; // disable