summaryrefslogtreecommitdiff
path: root/app/client/system/system.reducer.js
diff options
context:
space:
mode:
authorJules Laplace <julescarbon@gmail.com>2018-06-05 23:08:16 +0200
committerJules Laplace <julescarbon@gmail.com>2018-06-05 23:08:16 +0200
commit4efd9dfe70195665a8dcbe9679604003d1c36414 (patch)
treeeffee2be54cbd7b4b463eb29c2769a12c1de4e9d /app/client/system/system.reducer.js
parent458663d008e0447f3db0f3a1d3f8750cccc8b62e (diff)
lil things
Diffstat (limited to 'app/client/system/system.reducer.js')
-rw-r--r--app/client/system/system.reducer.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/client/system/system.reducer.js b/app/client/system/system.reducer.js
index db071c4..a0cfb8c 100644
--- a/app/client/system/system.reducer.js
+++ b/app/client/system/system.reducer.js
@@ -132,7 +132,7 @@ const systemReducer = (state = systemInitialState, action) => {
}
case types.system.load_site:
document.querySelector('title').innerHTML = action.site.name + '.cortex'
- let tool = state.site.tool
+ let tool = state.app.tool
const path = window.location.pathname.split('/')[1]
if (path in modules) {
tool = path