commit: 7e6214b869eedf39eaf59693c7a7cae91e084de8
parent: a8eb0bf44fe2ec77e9db58b2a602188392f2fc6c
Author: Neetshin <neetshin@neetsh.in>
Date: Sun, 24 Dec 2017 08:18:45 +0000
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
Diffstat:
1 file changed, 1 insertion(+), 0 deletions(-)
diff --git 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,
};