hello-robot / stretch_web_teleop

Remote web teleoperation for the Stretch mobile manipulators from Hello Robot Inc.
Other
15 stars 1 forks source link

[Bugfix] Properly delete last Tab in a Panel #51

Closed hello-amal closed 6 months ago

hello-amal commented 6 months ago

Description

Currently, there is a bug where if you click on the last tab of a panel and delete that, the entire web app crashes (white page). This bug does not occur when you click on the body of the panel itself, which is likely why it has eluded discovery. This PR fixes that and simplifies how we remove child elements from the web app.

Testing procedure

Before opening a pull request

From the top-level of this repository, run:

To merge