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:
Saúl Ibarra Corretgé 2022-08-08 13:44:11 +02:00 committed by Saúl Ibarra Corretgé
parent 5f04c5ba64
commit dd044ad252
1 changed files with 1 additions and 3 deletions

View File

@ -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