Skip to content

Jitsi Meet - Secure, Simple and Scalable Video Conferences that you use as a standalone app or embed in your web application.

fix(connection-indicator): Hide indicator circle when ghost icon is hidden.

tudordan7072c29c0f990
diff --git a/css/_videolayout_default.scss b/css/_videolayout_default.scss
index 5947afe910..d78a0f6976 100644
--- a/css/_videolayout_default.scss
+++ b/css/_videolayout_default.scss
@@ -415,6 +415,11 @@
&.status-other {
background: $connectionIndicatorBg;
}
+
+ &.status-disabled {
+ background: transparent;
+ border: none
+ }
}
.local-video-menu-trigger,
diff --git a/react/features/connection-indicator/components/web/ConnectionIndicator.js b/react/features/connection-indicator/components/web/ConnectionIndicator.js
index 94cfec0271..5622e42a6c 100644
--- a/react/features/connection-indicator/components/web/ConnectionIndicator.js
+++ b/react/features/connection-indicator/components/web/ConnectionIndicator.js
@@ -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';