diff --git a/ui/src/features/scene_builder/presentation/scene_builder_store.ts b/ui/src/features/scene_builder/presentation/scene_builder_store.ts index cd02929..1e141a3 100644 --- a/ui/src/features/scene_builder/presentation/scene_builder_store.ts +++ b/ui/src/features/scene_builder/presentation/scene_builder_store.ts @@ -159,7 +159,7 @@ export class SceneBuilderStore extends FormState { deleteSceneItem = (item: SceneItems) => { this.sceneItems = this.sceneItems.filter((el) => !el.name.isEqual(item.name)); - + this.scene = this.scene.filter((el) => !el.name.isEqual(item.name)); this.coreThreeRepository?.deleteSceneItem(item); this.visibleSaveButton(); };