mirror of
https://github.com/vector-im/element-web.git
synced 2026-04-07 06:31:20 +02:00
* Fix #32682: Show space name instead of 'Empty room' after creation When creating a new space, the setup screens showed 'Empty room' or 'New room' instead of the chosen name. The 'createSpace' function nested 'name' and 'topic' inside 'createOpts'. However, the creation flow expects them at the top level of the options object. This caused the name to be undefined. This patch modifies SpaceCreateMenu.tsx to move these properties to the top-level. It also updates SpaceCreateMenu-test.tsx with a regression test to verify the fix and prevent future regressions. * fix: format SpaceCreateMenu test with prettier