mirror of
https://github.com/vector-im/hydrogen-web.git
synced 2024-12-23 03:25:12 +01:00
fix middle-shown to use new active vm
This commit is contained in:
parent
aaf4e79a73
commit
86e8b27cb3
@ -30,7 +30,7 @@ export class SessionView extends TemplateView {
|
|||||||
return t.div({
|
return t.div({
|
||||||
className: {
|
className: {
|
||||||
"SessionView": true,
|
"SessionView": true,
|
||||||
"middle-shown": vm => vm.activeSection !== "placeholder"
|
"middle-shown": vm => !!vm.activeMiddleViewModel
|
||||||
},
|
},
|
||||||
}, [
|
}, [
|
||||||
t.view(new SessionStatusView(vm.sessionStatusViewModel)),
|
t.view(new SessionStatusView(vm.sessionStatusViewModel)),
|
||||||
|
Loading…
Reference in New Issue
Block a user