fix: Edit space child button opens space details page and not space child details page

This commit is contained in:
Christian Kußowski 2026-02-28 11:10:50 +01:00
parent d7d104de91
commit 0436f16aa9
No known key found for this signature in database
GPG key ID: E067ECD60F1A0652

View file

@ -326,7 +326,7 @@ class _SpaceViewState extends State<SpaceView> {
if (space == null) return;
switch (action) {
case SpaceChildAction.edit:
context.push('/rooms/${widget.spaceId}/details');
context.push('/rooms/$roomId/details');
case SpaceChildAction.moveToSpace:
final spacesWithPowerLevels = space.client.rooms
.where(