mirror of
https://github.com/vector-im/hydrogen-web.git
synced 2024-12-23 11:35:04 +01:00
fix room view not showing anymore on narrow viewports
This commit is contained in:
parent
0bacde7f13
commit
e878b5786e
@ -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: {
|
||||||
"room-shown": vm => !!vm.currentRoom
|
"SessionView": true,
|
||||||
|
"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"}, [
|
||||||
|
Loading…
Reference in New Issue
Block a user