Reorganized the workspace dropdown rendering logic for improved readability and maintainability. Ensured consistent handling of separators and dropdown items, while preserving the existing functionality. Fix #11034
Run yarn dev while server running on port 3000
yarn dev
3000