fix room view not showing anymore on narrow viewports

This commit is contained in:
Bruno Windels 2020-10-06 13:31:23 +02:00
parent 0bacde7f13
commit e878b5786e

View File

@ -23,8 +23,10 @@ import {SessionStatusView} from "./SessionStatusView.js";
export class SessionView extends TemplateView { export class SessionView extends TemplateView {
render(t, vm) { render(t, vm) {
return t.div({ return t.div({
className: "SessionView", className: {
"SessionView": true,
"room-shown": vm => !!vm.currentRoom "room-shown": vm => !!vm.currentRoom
},
}, [ }, [
t.view(new SessionStatusView(vm.sessionStatusViewModel)), t.view(new SessionStatusView(vm.sessionStatusViewModel)),
t.div({className: "main"}, [ t.div({className: "main"}, [