mirror of
https://github.com/vector-im/hydrogen-web.git
synced 2024-12-23 03:25:12 +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 {
|
||||
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"}, [
|
||||
|
Loading…
Reference in New Issue
Block a user