From d08a8b00a952f387835b0d4cf477b74573e7806f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Se=CC=81rgio=20Ramos?= Date: Wed, 30 Aug 2017 14:02:27 +0100 Subject: [PATCH] fix(cp-frontend): handle no data in metrics loop --- .../cp-frontend/src/components/service/scale.js | 4 ++-- .../src/containers/metrics/metrics-data-hoc.js | 13 ++++++++++--- .../cp-frontend/src/containers/services/list.js | 8 +++++++- 3 files changed, 19 insertions(+), 6 deletions(-) diff --git a/packages/cp-frontend/src/components/service/scale.js b/packages/cp-frontend/src/components/service/scale.js index 6abb8826..9abb89ee 100644 --- a/packages/cp-frontend/src/components/service/scale.js +++ b/packages/cp-frontend/src/components/service/scale.js @@ -12,7 +12,7 @@ import { const ServiceScale = ({ service, handleSubmit = () => {}, - onCancelClick = () => {}, + onCancel = () => {}, invalid, pristine }) => ( @@ -32,7 +32,7 @@ const ServiceScale = ({ -