Skip to content
Snippets Groups Projects
Commit d0b6b7fc authored by Chris Beer's avatar Chris Beer
Browse files

Use a consistent sort for windows; fixes #1823

parent 58d8b76f
Branches
No related tags found
No related merge requests found
...@@ -52,7 +52,7 @@ class WorkspaceMosaic extends React.Component { ...@@ -52,7 +52,7 @@ class WorkspaceMosaic extends React.Component {
*/ */
determineWorkspaceLayout() { determineWorkspaceLayout() {
const { windows, workspace } = this.props; const { windows, workspace } = this.props;
const windowKeys = Object.keys(windows); const windowKeys = Object.keys(windows).sort();
const leaveKeys = getLeaves(workspace.layout); const leaveKeys = getLeaves(workspace.layout);
// Check every window is in the layout, and all layout windows are present // Check every window is in the layout, and all layout windows are present
// in store // in store
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment