diff options
author | Neetshin <neetshin@neetsh.in> | 2017-12-24 08:18:45 +0000 |
---|---|---|
committer | Yamagishi Kazutoshi <ykzts@desire.sh> | 2017-12-24 17:18:45 +0900 |
commit | 7e6214b869eedf39eaf59693c7a7cae91e084de8 (patch) | |
tree | d3357e183584cc5e41f7d220572879158fbee89b | |
parent | a8eb0bf44fe2ec77e9db58b2a602188392f2fc6c (diff) |
Add validation for onMuteNotifications (#6092)
* Add aria-autocomplete='list' in Textaria ref: https://www.w3.org/TR/wai-aria-1.1/#aria-autocomplete * Make detect empty string brefore assign upload description * Change code elements in keyboard-shortcuts component to kbd * Add validation for onMuteNotifications
-rw-r--r-- | app/javascript/mastodon/components/account.js | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/app/javascript/mastodon/components/account.js b/app/javascript/mastodon/components/account.js index b0479db4f..81459731c 100644 --- a/app/javascript/mastodon/components/account.js +++ b/app/javascript/mastodon/components/account.js @@ -27,6 +27,7 @@ export default class Account extends ImmutablePureComponent { onFollow: PropTypes.func.isRequired, onBlock: PropTypes.func.isRequired, onMute: PropTypes.func.isRequired, + onMuteNotifications: PropTypes.func.isRequired, intl: PropTypes.object.isRequired, hidden: PropTypes.bool, }; |