fix(settings) fix not showing the more tab
It used to only contain 3 sets of options, so we'd check if any of them were set before showing it, but it now contains more options, so always show it if the user requested it.
This commit is contained in:
parent
5f04c5ba64
commit
dd044ad252
|
@ -278,9 +278,7 @@ function _mapStateToProps(state, ownProps) {
|
|||
const moreTabProps = getMoreTabProps(state);
|
||||
const moderatorTabProps = getModeratorTabProps(state);
|
||||
const { showModeratorSettings } = moderatorTabProps;
|
||||
const { showLanguageSettings, showNotificationsSettings, showPrejoinSettings } = moreTabProps;
|
||||
const showMoreTab
|
||||
= configuredTabs.includes('more') && (showLanguageSettings || showNotificationsSettings || showPrejoinSettings);
|
||||
const showMoreTab = configuredTabs.includes('more');
|
||||
const showProfileSettings
|
||||
= configuredTabs.includes('profile') && !state['features/base/config'].disableProfile;
|
||||
const showCalendarSettings
|
||||
|
|
Loading…
Reference in New Issue