From 86e8b27cb3043d56b16d988d153d5d65da4332dc Mon Sep 17 00:00:00 2001 From: Bruno Windels Date: Tue, 27 Apr 2021 11:01:51 +0200 Subject: [PATCH] fix middle-shown to use new active vm --- src/platform/web/ui/session/SessionView.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/platform/web/ui/session/SessionView.js b/src/platform/web/ui/session/SessionView.js index c7abd4db..214db2a3 100644 --- a/src/platform/web/ui/session/SessionView.js +++ b/src/platform/web/ui/session/SessionView.js @@ -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)),