diff --git a/src/domain/session/room/RoomViewModel.js b/src/domain/session/room/RoomViewModel.js index ef103255..4d53ec6c 100644 --- a/src/domain/session/room/RoomViewModel.js +++ b/src/domain/session/room/RoomViewModel.js @@ -288,7 +288,7 @@ export class RoomViewModel extends ViewModel { return this._composerVM; } - toggleDetailsPanel() { + openDetailsPanel() { let path = this.navigation.path.until("room"); path = path.with(this.navigation.segment("details", true)); this.navigation.applyPath(path); diff --git a/src/platform/web/ui/session/room/RoomView.js b/src/platform/web/ui/session/room/RoomView.js index 13259a08..f8e84f87 100644 --- a/src/platform/web/ui/session/room/RoomView.js +++ b/src/platform/web/ui/session/room/RoomView.js @@ -68,7 +68,7 @@ export class RoomView extends TemplateView { } else { const vm = this.value; const options = []; - options.push(Menu.option(vm.i18n`Room details`, () => vm.toggleDetailsPanel())) + options.push(Menu.option(vm.i18n`Room details`, () => vm.openDetailsPanel())) if (vm.canLeave) { options.push(Menu.option(vm.i18n`Leave room`, () => vm.leaveRoom()).setDestructive()); }