mirror of
https://gitcode.com/GitHub_Trending/ji/jitsi-meet.git
synced 2026-05-17 18:27:46 +00:00
feat(settings) add abilty to hide more tab under settings
This commit is contained in:
@@ -268,7 +268,8 @@ function _mapStateToProps(state, ownProps) {
|
||||
const moderatorTabProps = getModeratorTabProps(state);
|
||||
const { showModeratorSettings } = moderatorTabProps;
|
||||
const { showLanguageSettings, showNotificationsSettings, showPrejoinSettings } = moreTabProps;
|
||||
const showMoreTab = showLanguageSettings || showNotificationsSettings || showPrejoinSettings;
|
||||
const showMoreTab
|
||||
= configuredTabs.includes('more') && (showLanguageSettings || showNotificationsSettings || showPrejoinSettings);
|
||||
const showProfileSettings
|
||||
= configuredTabs.includes('profile') && !state['features/base/config'].disableProfile;
|
||||
const showCalendarSettings
|
||||
|
||||
Reference in New Issue
Block a user