Skip to content
This repository has been archived by the owner on Jun 17, 2021. It is now read-only.

Commit

Permalink
Merge branch 'release/2.1.2'
Browse files Browse the repository at this point in the history
  • Loading branch information
Yago committed Jun 19, 2018
2 parents f1ca6a2 + be23789 commit 6adf0db
Show file tree
Hide file tree
Showing 9 changed files with 13 additions and 9 deletions.
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
# Changelog

*2.1.2* (2018-06-19)
- ✨ get sourcesOrder and use it (957856c)

*2.1.1* (2018-06-15)
- Fix component meta call

Expand Down
2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
2.1.1
2.1.2
4 changes: 2 additions & 2 deletions build/asset-manifest.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"main.css": "static/css/main.b3d6cd5e.css",
"main.css.map": "static/css/main.b3d6cd5e.css.map",
"main.js": "static/js/main.1b1c5da1.js",
"main.js.map": "static/js/main.1b1c5da1.js.map"
"main.js": "static/js/main.412936c2.js",
"main.js.map": "static/js/main.412936c2.js.map"
}
2 changes: 1 addition & 1 deletion build/service-worker.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions build/static/js/main.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion build/static/js/main.js.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "toolbox-reader",
"version": "2.1.1",
"version": "2.1.2",
"private": true,
"eslintConfig": {
"parser": "babel-eslint",
Expand Down
2 changes: 1 addition & 1 deletion src/components/Sidebar/Sidebar.js
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ const Sidebar = (props) => {

<SidebarDocs location={props.location} />

{Object.keys(props.atomic.sources).map((group) => {
{Object.keys(props.atomic.sourcesOrder || props.atomic.sources).map((group) => {
return <SidebarItem key={group} group={group} location={props.location} />;
})}
</div>
Expand Down
1 change: 1 addition & 0 deletions src/reducers/atomic.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ const atomicReducer = p((state = defaultState, action) => {
case SET_COMPONENTS:
state.sources = action.payload;
state.types = Object.keys(action.payload);
state.sourcesOrder = window.sourcesOrder || null;
break;

// Update a specific component
Expand Down

0 comments on commit 6adf0db

Please sign in to comment.