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

Merge pull request #2320 from ProjectMirador/fix-window-maximize

Pass window's maximized value as a prop to the WindowTopBar.
parents 28143980 94d41eff
No related branches found
No related tags found
No related merge requests found
......@@ -13,7 +13,7 @@ const mapStateToProps = (state, { windowId }) => ({
allowFullscreen: state.config.window.allowFullscreen,
focused: state.workspace.focusedWindowId === windowId,
manifestTitle: getManifestTitle(state, { windowId }),
maximized: getWindow(state, { windowId }),
maximized: getWindow(state, { windowId }).maximized,
});
/**
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment