mirror of
https://github.com/Unleash/unleash.git
synced 2024-12-22 19:07:54 +01:00
fix: missing strategy makes the toggle-configure crash
This commit is contained in:
parent
ecc95f55b5
commit
9c97d8c313
@ -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 = (
|
||||
|
Loading…
Reference in New Issue
Block a user