bugfixing
This commit is contained in:
parent
e4021c5213
commit
1db9b80815
@ -341,7 +341,7 @@
|
|||||||
graphBaseClose = oneMonthPrice?.at(0)?.close;
|
graphBaseClose = oneMonthPrice?.at(0)?.close;
|
||||||
config = plotData(oneMonthPrice) || null;
|
config = plotData(oneMonthPrice) || null;
|
||||||
break;
|
break;
|
||||||
case "ytd":
|
case "YTD":
|
||||||
currentDataRow = ytdPrice?.at(-1);
|
currentDataRow = ytdPrice?.at(-1);
|
||||||
graphBaseClose = ytdPrice?.at(0)?.close;
|
graphBaseClose = ytdPrice?.at(0)?.close;
|
||||||
config = plotData(ytdPrice) || null;
|
config = plotData(ytdPrice) || null;
|
||||||
@ -469,8 +469,8 @@
|
|||||||
lastValue = null;
|
lastValue = null;
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
case "ytd":
|
case "YTD":
|
||||||
displayData = "ytd";
|
displayData = "YTD";
|
||||||
await historicalPrice("ytd");
|
await historicalPrice("ytd");
|
||||||
if (ytdPrice?.length !== 0) {
|
if (ytdPrice?.length !== 0) {
|
||||||
displayLastLogicalRangeValue = ytdPrice?.at(0)?.close;
|
displayLastLogicalRangeValue = ytdPrice?.at(0)?.close;
|
||||||
|
|||||||
@ -340,7 +340,7 @@
|
|||||||
graphBaseClose = oneMonthPrice?.at(0)?.close;
|
graphBaseClose = oneMonthPrice?.at(0)?.close;
|
||||||
config = plotData(oneMonthPrice) || null;
|
config = plotData(oneMonthPrice) || null;
|
||||||
break;
|
break;
|
||||||
case "ytd":
|
case "YTD":
|
||||||
currentDataRow = ytdPrice?.at(-1);
|
currentDataRow = ytdPrice?.at(-1);
|
||||||
graphBaseClose = ytdPrice?.at(0)?.close;
|
graphBaseClose = ytdPrice?.at(0)?.close;
|
||||||
config = plotData(ytdPrice) || null;
|
config = plotData(ytdPrice) || null;
|
||||||
@ -468,8 +468,8 @@
|
|||||||
lastValue = null;
|
lastValue = null;
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
case "ytd":
|
case "YTD":
|
||||||
displayData = "ytd";
|
displayData = "YTD";
|
||||||
await historicalPrice("ytd");
|
await historicalPrice("ytd");
|
||||||
if (ytdPrice?.length !== 0) {
|
if (ytdPrice?.length !== 0) {
|
||||||
displayLastLogicalRangeValue = ytdPrice?.at(0)?.close;
|
displayLastLogicalRangeValue = ytdPrice?.at(0)?.close;
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user