fix(connection-indicator): Hide indicator circle when ghost icon is hidden.
This commit is contained in:
parent
9ab16a0a5c
commit
072c29c0f9
|
@ -415,6 +415,11 @@
|
|||
&.status-other {
|
||||
background: $connectionIndicatorBg;
|
||||
}
|
||||
|
||||
&.status-disabled {
|
||||
background: transparent;
|
||||
border: none
|
||||
}
|
||||
}
|
||||
|
||||
.local-video-menu-trigger,
|
||||
|
|
|
@ -180,6 +180,10 @@ class ConnectionIndicator extends AbstractConnectionIndicator<Props, AbstractSta
|
|||
const { INACTIVE, INTERRUPTED } = JitsiParticipantConnectionStatus;
|
||||
|
||||
if (_connectionStatus === INACTIVE) {
|
||||
if (this.props._connectionIndicatorInactiveDisabled) {
|
||||
return 'status-disabled';
|
||||
}
|
||||
|
||||
return 'status-other';
|
||||
} else if (_connectionStatus === INTERRUPTED) {
|
||||
return 'status-lost';
|
||||
|
|
Loading…
Reference in New Issue