about summary refs log tree commit diff
path: root/app/javascript
diff options
context:
space:
mode:
authorEugen Rochko <eugen@zeonfederated.com>2018-07-11 00:56:54 +0200
committerGitHub <noreply@github.com>2018-07-11 00:56:54 +0200
commitbfce6a54859c73331b895fc78cd4aefdbedaaeb2 (patch)
treef1883bf6c2e4544f4b6ed5c927710998fd56b10c /app/javascript
parent20fefdb7145b48449e9d6a824a9846dadfd6ac2f (diff)
Add link to filters in web UI dropdown (#7990)
Diffstat (limited to 'app/javascript')
-rw-r--r--app/javascript/mastodon/features/compose/components/action_bar.js2
1 files changed, 2 insertions, 0 deletions
diff --git a/app/javascript/mastodon/features/compose/components/action_bar.js b/app/javascript/mastodon/features/compose/components/action_bar.js
index d6dcf51e0..daee18552 100644
--- a/app/javascript/mastodon/features/compose/components/action_bar.js
+++ b/app/javascript/mastodon/features/compose/components/action_bar.js
@@ -14,6 +14,7 @@ const messages = defineMessages({
   blocks: { id: 'navigation_bar.blocks', defaultMessage: 'Blocked users' },
   domain_blocks: { id: 'navigation_bar.domain_blocks', defaultMessage: 'Hidden domains' },
   mutes: { id: 'navigation_bar.mutes', defaultMessage: 'Muted users' },
+  filters: { id: 'navigation_bar.filters', defaultMessage: 'Muted words' },
 });
 
 @injectIntl
@@ -40,6 +41,7 @@ export default class ActionBar extends React.PureComponent {
     menu.push({ text: intl.formatMessage(messages.mutes), to: '/mutes' });
     menu.push({ text: intl.formatMessage(messages.blocks), to: '/blocks' });
     menu.push({ text: intl.formatMessage(messages.domain_blocks), to: '/domain_blocks' });
+    menu.push({ text: intl.formatMessage(messages.filters), href: '/filters' });
 
     return (
       <div className='compose__action-bar'>