From 768a2cc5a36e4dec5a402be55f8dd6901bec1da3 Mon Sep 17 00:00:00 2001 From: Marco Ambrosini Date: Thu, 28 May 2020 15:41:46 +0200 Subject: [PATCH] Fix showVideo conditions Signed-off-by: Marco Ambrosini --- src/components/CallView/shared/Video.vue | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/src/components/CallView/shared/Video.vue b/src/components/CallView/shared/Video.vue index c7ba14b53..c5aed812a 100644 --- a/src/components/CallView/shared/Video.vue +++ b/src/components/CallView/shared/Video.vue @@ -37,6 +37,7 @@ @@ -267,7 +268,11 @@ export default { return !this.showSharedScreen && this.hasVideo && !this.isSelected } else { if (this.isStripe) { - return !(this.isSelected ? this.isSelected : this.isPromoted) && this.hasVideo + if (this.hasSelectedVideo) { + return !this.isSelected && this.hasVideo + } else { + return !this.isPromoted && this.hasVideo + } } else { return this.hasVideo }