diff --git a/src/platform/web/ui/session/room/CallView.ts b/src/platform/web/ui/session/room/CallView.ts index ae7b4138..f8386116 100644 --- a/src/platform/web/ui/session/room/CallView.ts +++ b/src/platform/web/ui/session/room/CallView.ts @@ -34,7 +34,10 @@ export class CallView extends TemplateView { return t.div({class: "CallView"}, [ t.p(vm => `Call ${vm.name} (${vm.id})`), t.div({class: "CallView_me"}, bindVideoTracks(t, t.video({autoplay: true, width: 240}), vm => vm.localTracks)), - t.view(new ListView({list: vm.memberViewModels}, vm => new MemberView(vm))) + t.view(new ListView({list: vm.memberViewModels}, vm => new MemberView(vm))), + t.div({class: "buttons"}, [ + t.button({onClick: () => vm.leave()}, "Leave") + ]) ]); } }