mirror of
https://github.com/xibyte/jsketcher
synced 2026-02-27 17:54:39 +01:00
fix revolve operation
This commit is contained in:
parent
15f890480f
commit
4eb4d5154c
1 changed files with 1 additions and 1 deletions
|
|
@ -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]);
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue