From 4eb4d5154ca071cf4f395546d8be5568f2d8f682 Mon Sep 17 00:00:00 2001 From: Val Erastov Date: Fri, 30 Nov 2018 00:11:19 -0800 Subject: [PATCH] fix revolve operation --- web/app/cad/craft/wizard/components/form/SingleEntity.jsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/web/app/cad/craft/wizard/components/form/SingleEntity.jsx b/web/app/cad/craft/wizard/components/form/SingleEntity.jsx index 0944e195..63601cfe 100644 --- a/web/app/cad/craft/wizard/components/form/SingleEntity.jsx +++ b/web/app/cad/craft/wizard/components/form/SingleEntity.jsx @@ -19,7 +19,7 @@ export default class SingleEntity extends React.Component { componentDidMount() { let {streams, entity, onChange, value, selectionIndex, findEntity} = this.props; let selection$ = streams.selection[entity]; - if (findEntity(entity, value)) { + if (value && findEntity(entity, value)) { if (selectionIndex === 0) { selection$.next([value]); }