You've already forked joplin
mirror of
https://github.com/laurent22/joplin.git
synced 2025-11-23 22:36:32 +02:00
committed by
GitHub
parent
1d46adf801
commit
801d36c41f
@@ -830,8 +830,11 @@ class ConfigScreenComponent extends BaseScreenComponent<ConfigScreenProps, Confi
|
|||||||
}
|
}
|
||||||
|
|
||||||
let screenHeadingText = _('Configuration');
|
let screenHeadingText = _('Configuration');
|
||||||
|
let showSearchButton = true;
|
||||||
|
|
||||||
if (currentSectionName) {
|
if (currentSectionName) {
|
||||||
screenHeadingText = Setting.sectionNameToLabel(currentSectionName);
|
screenHeadingText = Setting.sectionNameToLabel(currentSectionName);
|
||||||
|
showSearchButton = currentSectionName !== 'plugins';
|
||||||
}
|
}
|
||||||
|
|
||||||
return (
|
return (
|
||||||
@@ -839,7 +842,7 @@ class ConfigScreenComponent extends BaseScreenComponent<ConfigScreenProps, Confi
|
|||||||
<ScreenHeader
|
<ScreenHeader
|
||||||
title={screenHeadingText}
|
title={screenHeadingText}
|
||||||
showSaveButton={true}
|
showSaveButton={true}
|
||||||
showSearchButton={true}
|
showSearchButton={showSearchButton}
|
||||||
showSideMenuButton={false}
|
showSideMenuButton={false}
|
||||||
saveButtonDisabled={!this.hasUnsavedChanges()}
|
saveButtonDisabled={!this.hasUnsavedChanges()}
|
||||||
onSaveButtonPress={this.saveButton_press}
|
onSaveButtonPress={this.saveButton_press}
|
||||||
|
|||||||
Reference in New Issue
Block a user