From e878b5786e480815ad1a9d95cd0aedd59f2323d2 Mon Sep 17 00:00:00 2001 From: Bruno Windels Date: Tue, 6 Oct 2020 13:31:23 +0200 Subject: [PATCH] fix room view not showing anymore on narrow viewports --- src/ui/web/session/SessionView.js | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/ui/web/session/SessionView.js b/src/ui/web/session/SessionView.js index a66fcd4b..eb8d3153 100644 --- a/src/ui/web/session/SessionView.js +++ b/src/ui/web/session/SessionView.js @@ -23,8 +23,10 @@ import {SessionStatusView} from "./SessionStatusView.js"; export class SessionView extends TemplateView { render(t, vm) { return t.div({ - className: "SessionView", - "room-shown": vm => !!vm.currentRoom + className: { + "SessionView": true, + "room-shown": vm => !!vm.currentRoom + }, }, [ t.view(new SessionStatusView(vm.sessionStatusViewModel)), t.div({className: "main"}, [