placeholder does not count as room shown

This commit is contained in:
Bruno Windels 2020-10-07 18:00:07 +02:00
parent b79b41adcd
commit dafa995429

View File

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