mirror of
https://gitcode.com/GitHub_Trending/ji/jitsi-meet.git
synced 2025-12-30 11:22:31 +00:00
feat(config) Added option to remove Show More link from GSM popover
* Whitelisted enableSaveLogs * Added config option to hide Show More on GSM popover * Updated config option
This commit is contained in:
@@ -90,6 +90,12 @@ type Props = AbstractProps & {
|
||||
*/
|
||||
enableSaveLogs: boolean,
|
||||
|
||||
/**
|
||||
* Whether or not should display the "Show More" link in the local video
|
||||
* stats table.
|
||||
*/
|
||||
disableShowMoreStats: boolean,
|
||||
|
||||
/**
|
||||
* Whether or not clicking the indicator should display a popover for more
|
||||
* details.
|
||||
@@ -391,6 +397,7 @@ class ConnectionIndicator extends AbstractConnectionIndicator<Props, State> {
|
||||
bridgeCount = { bridgeCount }
|
||||
codec = { codec }
|
||||
connectionSummary = { this._getConnectionStatusTip() }
|
||||
disableShowMoreStats = { this.props.disableShowMoreStats }
|
||||
e2eRtt = { e2eRtt }
|
||||
enableSaveLogs = { this.props.enableSaveLogs }
|
||||
framerate = { framerate }
|
||||
@@ -448,7 +455,8 @@ export function _mapStateToProps(state: Object, ownProps: Props) {
|
||||
= typeof participantId === 'undefined' ? getLocalParticipant(state) : getParticipantById(state, participantId);
|
||||
const props = {
|
||||
_connectionStatus: participant?.connectionStatus,
|
||||
enableSaveLogs: state['features/base/config'].enableSaveLogs
|
||||
enableSaveLogs: state['features/base/config'].enableSaveLogs,
|
||||
disableShowMoreStats: state['features/base/config'].disableShowMoreStats
|
||||
};
|
||||
|
||||
if (conference) {
|
||||
|
||||
Reference in New Issue
Block a user