[Metrics UI] Fix isAbove to only display when threshold set (#65540)
This commit is contained in:
parent
2903e2fc76
commit
df0f0c341f
|
@ -224,7 +224,7 @@ export const ExpressionChart: React.FC<Props> = ({
|
|||
/>
|
||||
</>
|
||||
) : null}
|
||||
{isAbove ? (
|
||||
{isAbove && first(expression.threshold) != null ? (
|
||||
<RectAnnotation
|
||||
id="upper-threshold"
|
||||
style={{
|
||||
|
|
Loading…
Reference in a new issue