about summary refs log tree commit diff
path: root/app/javascript/flavours/glitch/features/home_timeline/containers
diff options
context:
space:
mode:
authorcwm <chriswmartin@protonmail.com>2018-01-09 09:58:40 -0600
committercwm <chriswmartin@protonmail.com>2018-01-09 09:58:40 -0600
commit0d4dcb5fb2952943c7d43485dffed8f0fe497ac6 (patch)
treeac0e3f590dbecfe704808a9498d967f49fe62d94 /app/javascript/flavours/glitch/features/home_timeline/containers
parent6d1c325167d12300e86d678a054777acd5d3077a (diff)
change key to path in timeline settings containers
Diffstat (limited to 'app/javascript/flavours/glitch/features/home_timeline/containers')
-rw-r--r--app/javascript/flavours/glitch/features/home_timeline/containers/column_settings_container.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/app/javascript/flavours/glitch/features/home_timeline/containers/column_settings_container.js b/app/javascript/flavours/glitch/features/home_timeline/containers/column_settings_container.js
index 19a8e792f..16747151b 100644
--- a/app/javascript/flavours/glitch/features/home_timeline/containers/column_settings_container.js
+++ b/app/javascript/flavours/glitch/features/home_timeline/containers/column_settings_container.js
@@ -8,8 +8,8 @@ const mapStateToProps = state => ({
 
 const mapDispatchToProps = dispatch => ({
 
-  onChange (key, checked) {
-    dispatch(changeSetting(['home', ...key], checked));
+  onChange (path, checked) {
+    dispatch(changeSetting(['home', ...path], checked));
   },
 
   onSave () {