mirror of
https://github.com/yldio/copilot.git
synced 2024-11-28 22:20:06 +02:00
Add metric display
This commit is contained in:
parent
1b42954bf2
commit
355c8692dd
@ -19,9 +19,6 @@ const {
|
|||||||
} = Metric;
|
} = Metric;
|
||||||
|
|
||||||
const MetricCharts = ({
|
const MetricCharts = ({
|
||||||
// metricTypes,
|
|
||||||
// metrics,
|
|
||||||
// onAddMetric,
|
|
||||||
datasets,
|
datasets,
|
||||||
duration = 360,
|
duration = 360,
|
||||||
durations = [
|
durations = [
|
||||||
@ -33,7 +30,6 @@ const MetricCharts = ({
|
|||||||
onDurationChange = () => {},
|
onDurationChange = () => {},
|
||||||
onSettingsClick = () => {},
|
onSettingsClick = () => {},
|
||||||
onRemoveMetric = () => {}
|
onRemoveMetric = () => {}
|
||||||
// and another one here to come...
|
|
||||||
}) => {
|
}) => {
|
||||||
|
|
||||||
const optionList = durations.map(duration => (
|
const optionList = durations.map(duration => (
|
||||||
|
Loading…
Reference in New Issue
Block a user