From dc1d51a524b3272d3e1a898f732f3c053fcec9d3 Mon Sep 17 00:00:00 2001 From: Alex P Date: Wed, 14 Mar 2018 20:44:39 -0700 Subject: [PATCH] Add optional heading to thresholds list --- ui/src/shared/components/ThresholdsList.js | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/ui/src/shared/components/ThresholdsList.js b/ui/src/shared/components/ThresholdsList.js index 61a6b18f8f..55de78827c 100644 --- a/ui/src/shared/components/ThresholdsList.js +++ b/ui/src/shared/components/ThresholdsList.js @@ -112,11 +112,12 @@ class ThresholdsList extends Component { } render() { - const {singleStatColors} = this.props + const {singleStatColors, showListHeading} = this.props const disableAddThreshold = singleStatColors.length > MAX_THRESHOLDS return (
+ {showListHeading && }