Oops, show the voice call button once a call has ended

This commit is contained in:
David Baker 2014-09-01 17:41:42 +01:00
parent 32bfd567ac
commit ab8de33c76
1 changed files with 1 additions and 1 deletions

View File

@ -100,7 +100,7 @@
<button ng-click="inviteUser(userIDToInvite)">Invite</button>
</span>
<button ng-click="leaveRoom()">Leave</button>
<button ng-click="startVoiceCall()" ng-show="currentCall == undefined && memberCount() == 2">Voice Call</button>
<button ng-click="startVoiceCall()" ng-show="(currentCall == undefined || currentCall.state == 'ended') && memberCount() == 2">Voice Call</button>
</div>
{{ feedback }}