Skip to content
Snippets Groups Projects
Unverified Commit a42ceca5 authored by Camille Villa's avatar Camille Villa Committed by GitHub
Browse files

Move localepicker to settings so that adopters could turn this… (#2925)

Move localepicker to settings so that adopters could turn this featur…
parents 404c449a 8801e9b2
Branches
No related tags found
No related merge requests found
......@@ -225,6 +225,7 @@ export default {
defaultSideBarPanel: 'info', // Configure which sidebar is selected by default. Options: info, attribution, canvas, annotations, search
defaultView: 'single', // Configure which viewing mode (e.g. single, book, gallery) for windows to be opened in
hideWindowTitle: false, // Configure if the window title is shown in the window title bar or not
showLocalePicker: false, // Configure locale picker for multi-lingual metadata
sideBarOpenByDefault: false, // Configure if the sidebar (and its content panel) is open by default
panels: { // Configure which panels are visible in WindowSideBarButtons
info: true,
......
......@@ -20,6 +20,7 @@ const mapStateToProps = (state, { id, windowId }) => ({
availableLocales: getMetadataLocales(state, { companionWindowId: id, windowId }),
locale: state.companionWindows[id].locale || getManifestLocale(state, { windowId }),
selectedCanvases: getVisibleCanvases(state, { windowId }),
showLocalePicker: state.config.window.showLocalePicker,
});
/** */
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment