зеркало из 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
|
<Screen
|
||||||
v-if="showSharedScreen"
|
v-if="showSharedScreen"
|
||||||
:is-big="isBig"
|
:is-big="isBig"
|
||||||
|
:token="token"
|
||||||
:call-participant-model="model"
|
:call-participant-model="model"
|
||||||
:shared-data="sharedData" />
|
:shared-data="sharedData" />
|
||||||
</transition>
|
</transition>
|
||||||
|
@ -267,7 +268,11 @@ export default {
|
||||||
return !this.showSharedScreen && this.hasVideo && !this.isSelected
|
return !this.showSharedScreen && this.hasVideo && !this.isSelected
|
||||||
} else {
|
} else {
|
||||||
if (this.isStripe) {
|
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 {
|
} else {
|
||||||
return this.hasVideo
|
return this.hasVideo
|
||||||
}
|
}
|
||||||
|
|
Загрузка…
Ссылка в новой задаче