mirror of https://github.com/laurent22/joplin.git
parent
1d46adf801
commit
801d36c41f
|
@ -830,8 +830,11 @@ class ConfigScreenComponent extends BaseScreenComponent<ConfigScreenProps, Confi
|
|||
}
|
||||
|
||||
let screenHeadingText = _('Configuration');
|
||||
let showSearchButton = true;
|
||||
|
||||
if (currentSectionName) {
|
||||
screenHeadingText = Setting.sectionNameToLabel(currentSectionName);
|
||||
showSearchButton = currentSectionName !== 'plugins';
|
||||
}
|
||||
|
||||
return (
|
||||
|
@ -839,7 +842,7 @@ class ConfigScreenComponent extends BaseScreenComponent<ConfigScreenProps, Confi
|
|||
<ScreenHeader
|
||||
title={screenHeadingText}
|
||||
showSaveButton={true}
|
||||
showSearchButton={true}
|
||||
showSearchButton={showSearchButton}
|
||||
showSideMenuButton={false}
|
||||
saveButtonDisabled={!this.hasUnsavedChanges()}
|
||||
onSaveButtonPress={this.saveButton_press}
|
||||
|
|
Loading…
Reference in New Issue