about summary refs log tree commit diff
path: root/app/javascript/flavours/glitch/features/direct_timeline/containers
diff options
context:
space:
mode:
authorDavid Yip <yipdw@member.fsf.org>2018-01-09 17:01:23 -0600
committerGitHub <noreply@github.com>2018-01-09 17:01:23 -0600
commit622c8fdb75f20f1aee73b5db6d2dc90416bb3b08 (patch)
tree940b08c3ccbc5901877d0afdb086f42055e5703e /app/javascript/flavours/glitch/features/direct_timeline/containers
parent991371af5f22ba85199f3f66bab5f70b404de95f (diff)
parentaef4b1af666f3fe66778bff0bab83b780fc71732 (diff)
Merge pull request #314 from chriswmartin/merge-vanilla-updates-2
Merge vanilla updates into glitch - round 2
Diffstat (limited to 'app/javascript/flavours/glitch/features/direct_timeline/containers')
-rw-r--r--app/javascript/flavours/glitch/features/direct_timeline/containers/column_settings_container.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/app/javascript/flavours/glitch/features/direct_timeline/containers/column_settings_container.js b/app/javascript/flavours/glitch/features/direct_timeline/containers/column_settings_container.js
index d3e4b4216..7292af264 100644
--- a/app/javascript/flavours/glitch/features/direct_timeline/containers/column_settings_container.js
+++ b/app/javascript/flavours/glitch/features/direct_timeline/containers/column_settings_container.js
@@ -8,8 +8,8 @@ const mapStateToProps = state => ({
 
 const mapDispatchToProps = dispatch => ({
 
-  onChange (key, checked) {
-    dispatch(changeSetting(['direct', ...key], checked));
+  onChange (path, checked) {
+    dispatch(changeSetting(['direct', ...path], checked));
   },
 
 });