1
0
mirror of https://github.com/yldio/copilot.git synced 2024-11-14 07:10:05 +02:00

Add metric display

This commit is contained in:
JUDIT GRESKOVITS 2017-01-23 15:07:46 +00:00
parent 1b42954bf2
commit 355c8692dd

View File

@ -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 => (