From 7e6214b869eedf39eaf59693c7a7cae91e084de8 Mon Sep 17 00:00:00 2001 From: Neetshin Date: Sun, 24 Dec 2017 08:18:45 +0000 Subject: [PATCH] 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 --- app/javascript/mastodon/components/account.js | 1 + 1 file changed, 1 insertion(+) diff --git a/app/javascript/mastodon/components/account.js b/app/javascript/mastodon/components/account.js index b0479db4f39..81459731c75 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, };