diff --git a/src/domain/session/SessionViewModel.js b/src/domain/session/SessionViewModel.js index 12f80f8b..14bb087e 100644 --- a/src/domain/session/SessionViewModel.js +++ b/src/domain/session/SessionViewModel.js @@ -261,7 +261,7 @@ export class SessionViewModel extends ViewModel { const enable = !!this.navigation.path.get("details")?.value; if (enable) { const room = this._roomFromNavigation(); - this._roomDetailsViewModel = this.track(new RoomDetailsViewModel(this.childOptions({ room }))); + this._roomDetailsViewModel = this.track(new RoomDetailsViewModel(this.childOptions({room}))); } this.emitChange("roomDetailsViewModel"); } diff --git a/src/platform/web/ui/session/SessionView.js b/src/platform/web/ui/session/SessionView.js index 31d5befa..877cc67c 100644 --- a/src/platform/web/ui/session/SessionView.js +++ b/src/platform/web/ui/session/SessionView.js @@ -25,7 +25,7 @@ import {StaticView} from "../general/StaticView.js"; import {SessionStatusView} from "./SessionStatusView.js"; import {RoomGridView} from "./RoomGridView.js"; import {SettingsView} from "./settings/SettingsView.js"; -import { RoomDetailsView } from "./rightpanel/RoomDetailsView.js"; +import {RoomDetailsView} from "./rightpanel/RoomDetailsView.js"; export class SessionView extends TemplateView { render(t, vm) {