don't pass deleted elements to UI (#1029)
This commit is contained in:
parent
71c31d9b8d
commit
f6b36519f1
@ -810,7 +810,9 @@ export class App extends React.Component<any, AppState> {
|
|||||||
appState={this.state}
|
appState={this.state}
|
||||||
setAppState={this.setAppState}
|
setAppState={this.setAppState}
|
||||||
actionManager={this.actionManager}
|
actionManager={this.actionManager}
|
||||||
elements={globalSceneState.getAllElements()}
|
elements={globalSceneState.getAllElements().filter(element => {
|
||||||
|
return !element.isDeleted;
|
||||||
|
})}
|
||||||
setElements={this.setElements}
|
setElements={this.setElements}
|
||||||
language={getLanguage()}
|
language={getLanguage()}
|
||||||
onRoomCreate={this.createRoom}
|
onRoomCreate={this.createRoom}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user