зеркало из https://github.com/nextcloud/spreed.git
Fix showVideo conditions
Signed-off-by: Marco Ambrosini <marcoambrosini@pm.me>
This commit is contained in:
Родитель
0c49bdf570
Коммит
768a2cc5a3
|
@ -37,6 +37,7 @@
|
|||
<Screen
|
||||
v-if="showSharedScreen"
|
||||
:is-big="isBig"
|
||||
:token="token"
|
||||
:call-participant-model="model"
|
||||
:shared-data="sharedData" />
|
||||
</transition>
|
||||
|
@ -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
|
||||
}
|
||||
|
|
Загрузка…
Ссылка в новой задаче