From 9c97d8c313e1dd3530c0d6b1bf53419923f6ba7e Mon Sep 17 00:00:00 2001 From: ivaosthu Date: Mon, 16 Dec 2019 21:44:27 +0100 Subject: [PATCH] fix: missing strategy makes the toggle-configure crash --- frontend/src/component/feature/form/strategy-configure.jsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/src/component/feature/form/strategy-configure.jsx b/frontend/src/component/feature/form/strategy-configure.jsx index 7519b8b88d..f9721cfb06 100644 --- a/frontend/src/component/feature/form/strategy-configure.jsx +++ b/frontend/src/component/feature/form/strategy-configure.jsx @@ -215,10 +215,10 @@ class StrategyConfigure extends React.Component { render() { const { isDragging, connectDragPreview, connectDragSource, connectDropTarget } = this.props; - const description = this.props.strategyDefinition.description; let item; if (this.props.strategyDefinition) { + const description = this.props.strategyDefinition.description; const strategyContent = this.renderStrategContent(this.props.strategyDefinition); const { name } = this.props.strategy; item = (