forked from ddrilling/asb_cloud_front
Исправлена ошибка с ключами при отображении подсказки мониторинга
This commit is contained in:
parent
40d3a77c1c
commit
0cbd9559f2
@ -48,8 +48,8 @@ export const cursorRender = (group, data, flowData) => {
|
|||||||
<Fragment key={chart.key}>
|
<Fragment key={chart.key}>
|
||||||
<GridItem row={i+2} col={1} style={{ padding: '2px 0' }}>{getChartIcon(chart)}</GridItem>
|
<GridItem row={i+2} col={1} style={{ padding: '2px 0' }}>{getChartIcon(chart)}</GridItem>
|
||||||
<GridItem row={i+2} col={2}>{chart.shortLabel || chart.label}</GridItem>
|
<GridItem row={i+2} col={2}>{chart.shortLabel || chart.label}</GridItem>
|
||||||
{flow.map((row) => (
|
{flow.map((row, j) => (
|
||||||
<GridItem row={i+2+(j++)} col={3} style={{ paddingRight: 0, textAlign: 'end' }}>
|
<GridItem key={`${j}`} row={i+2+(j++)} col={3} style={{ paddingRight: 0, textAlign: 'end' }}>
|
||||||
{chart.xAxis.format?.(row) ?? value(row)}
|
{chart.xAxis.format?.(row) ?? value(row)}
|
||||||
</GridItem>
|
</GridItem>
|
||||||
))}
|
))}
|
||||||
|
Loading…
Reference in New Issue
Block a user