From 90723ba4ed0b787e5f48232cf382f5bfefc961d9 Mon Sep 17 00:00:00 2001 From: Tim Date: Wed, 13 Mar 2024 15:55:22 -0400 Subject: [PATCH] bugfix --- src/charts/datafeed.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/charts/datafeed.js b/src/charts/datafeed.js index 55ea641..4e797dc 100644 --- a/src/charts/datafeed.js +++ b/src/charts/datafeed.js @@ -211,7 +211,7 @@ export const DataFeed = { co.selectedSymbol = symbolItem const pool = symbolItem.pools[Math.trunc(symbolItem.pools.length/2)]; // noinspection JSValidateTypes - co.selectedPool = [pool] + co.selectedPool = pool updateFeeDropdown() // Symbol information object const symbolInfo = { @@ -269,6 +269,7 @@ export const DataFeed = { const chainId = useStore().chainId; const poolAddr = useChartOrderStore().selectedPool[0]; const period = tvResolutionToPeriodString(resolution); + console.log('poolAddr', poolAddr) subscriptions[subscriberUID] = [chainId, poolAddr, period] subOHLC(chainId, poolAddr, period) return; // disable