From 872a54d304f637e695e677233d7267aa56605d75 Mon Sep 17 00:00:00 2001 From: Maxime Beauchemin Date: Mon, 23 Nov 2020 21:46:26 -0800 Subject: [PATCH] fix: annotation layer crashes when clearing type select (#11787) --- .../src/explore/components/controls/AnnotationLayer.jsx | 3 +++ 1 file changed, 3 insertions(+) diff --git a/superset-frontend/src/explore/components/controls/AnnotationLayer.jsx b/superset-frontend/src/explore/components/controls/AnnotationLayer.jsx index 82d4aef06c..b0f0569dcb 100644 --- a/superset-frontend/src/explore/components/controls/AnnotationLayer.jsx +++ b/superset-frontend/src/explore/components/controls/AnnotationLayer.jsx @@ -597,6 +597,7 @@ export default class AnnotationLayer extends React.PureComponent { { value: 'dotted', label: 'Dotted' }, ]} value={style} + clearable={false} onChange={v => this.setState({ style: v })} />