Skip to content
Snippets Groups Projects
Commit 8801e9b2 authored by Jack Reed's avatar Jack Reed
Browse files

Move localepicker to settings so that adopters could turn this feature on

parent 404c449a
Branches
Tags
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