diff --git a/src/domain/session/room/RoomViewModel.js b/src/domain/session/room/RoomViewModel.js index 47bc0c7b..60cd0055 100644 --- a/src/domain/session/room/RoomViewModel.js +++ b/src/domain/session/room/RoomViewModel.js @@ -36,7 +36,7 @@ export class RoomViewModel extends ViewModel { } this._clearUnreadTimout = null; this._closeUrl = this.urlCreator.urlUntilSegment("session"); - this._detailsLink = this.urlCreator.urlForSegment("details"); + this._detailsUrl = this.urlCreator.urlForSegment("details"); } async load() { @@ -104,7 +104,7 @@ export class RoomViewModel extends ViewModel { get id() { return this._room.id; } get timelineViewModel() { return this._timelineVM; } get isEncrypted() { return this._room.isEncrypted; } - get detailsLink() { return this._detailsLink; } + get detailsUrl() { return this._detailsUrl; } get error() { if (this._timelineError) { diff --git a/src/platform/web/ui/session/room/RoomView.js b/src/platform/web/ui/session/room/RoomView.js index c08d4b72..c1a1ed74 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.optionWithLink(vm.i18n`Room details`, vm.detailsLink)) + options.push(Menu.optionWithLink(vm.i18n`Room details`, vm.detailsUrl)) if (vm.canLeave) { options.push(Menu.optionWithButton(vm.i18n`Leave room`, () => vm.leaveRoom()).setDestructive()); }