mirror of
https://github.com/Unleash/unleash.git
synced 2024-12-28 00:06:53 +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() {
|
render() {
|
||||||
const { isDragging, connectDragPreview, connectDragSource, connectDropTarget } = this.props;
|
const { isDragging, connectDragPreview, connectDragSource, connectDropTarget } = this.props;
|
||||||
const description = this.props.strategyDefinition.description;
|
|
||||||
|
|
||||||
let item;
|
let item;
|
||||||
if (this.props.strategyDefinition) {
|
if (this.props.strategyDefinition) {
|
||||||
|
const description = this.props.strategyDefinition.description;
|
||||||
const strategyContent = this.renderStrategContent(this.props.strategyDefinition);
|
const strategyContent = this.renderStrategContent(this.props.strategyDefinition);
|
||||||
const { name } = this.props.strategy;
|
const { name } = this.props.strategy;
|
||||||
item = (
|
item = (
|
||||||
|
Loading…
Reference in New Issue
Block a user