fix middle-shown to use new active vm

This commit is contained in:
Bruno Windels 2021-04-27 11:01:51 +02:00
parent aaf4e79a73
commit 86e8b27cb3

View file

@ -30,7 +30,7 @@ export class SessionView extends TemplateView {
return t.div({
className: {
"SessionView": true,
"middle-shown": vm => vm.activeSection !== "placeholder"
"middle-shown": vm => !!vm.activeMiddleViewModel
},
}, [
t.view(new SessionStatusView(vm.sessionStatusViewModel)),