fix: support custom fetch for detail monitor modal
support use custom fetch when click the extend icon in the monitor chart card Change-Id: Ibbe4cf0ae22fa6523f1968ab99fab972c2e9331a
This commit is contained in:
parent
a8e7670082
commit
fa829ea7c4
@ -73,6 +73,7 @@ const ChartCard = (props) => {
|
||||
handleDataParams,
|
||||
fetchDataParams,
|
||||
isModal = false,
|
||||
fetchPrometheusFunc,
|
||||
} = props;
|
||||
const defaultNode = {};
|
||||
const { params: fParams = {} } = fetchDataParams;
|
||||
@ -106,6 +107,7 @@ const ChartCard = (props) => {
|
||||
}}
|
||||
visibleHeight={props.chartProps.height}
|
||||
chartConfig={{
|
||||
fetchPrometheusFunc,
|
||||
chartCardList: [
|
||||
{
|
||||
title,
|
||||
|
Loading…
Reference in New Issue
Block a user