Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Do Not Expand Sim After Tutorial in Headless Mode (#9644)
When a tutorial ends and the user clicks "Done" to go to the main code editor, we were calling into expandSimulator, which will open the sidebar even when we don't have an actual simulator to show. This change prevents that call if we're in headless mode (i.e. no simulator). I considered putting this check inside expandSimulator so it no-oped there if we're in headless mode, but I think this may still be used to see the file explorer in javascript mode, so I left that untouched for now.
- Loading branch information