about summary refs log tree commit diff
path: root/app/javascript/mastodon/reducers/settings.js
diff options
context:
space:
mode:
authorEugen Rochko <eugen@zeonfederated.com>2018-06-01 19:18:37 +0200
committerGitHub <noreply@github.com>2018-06-01 19:18:37 +0200
commit73c0c36e7be8a543e4d6b326a22dcbfa9d5b566d (patch)
tree6d9b2ac5deb3fbe4f9beb38571c3ec24a7bda485 /app/javascript/mastodon/reducers/settings.js
parent69b45350fe680ef5491eb8cacba92770b04ca1dd (diff)
Improve trends layout (#7700)
* Allow collapsing trends, responsively hide trends

* Add trends column
Diffstat (limited to 'app/javascript/mastodon/reducers/settings.js')
-rw-r--r--app/javascript/mastodon/reducers/settings.js4
1 files changed, 4 insertions, 0 deletions
diff --git a/app/javascript/mastodon/reducers/settings.js b/app/javascript/mastodon/reducers/settings.js
index de8865e43..0a034d739 100644
--- a/app/javascript/mastodon/reducers/settings.js
+++ b/app/javascript/mastodon/reducers/settings.js
@@ -64,6 +64,10 @@ const initialState = ImmutableMap({
       body: '',
     }),
   }),
+
+  trends: ImmutableMap({
+    show: true,
+  }),
 });
 
 const defaultColumns = fromJS([