diff options
author | ThibG <thib@sitedethib.com> | 2019-08-27 16:50:39 +0200 |
---|---|---|
committer | Thibaut Girka <thib@sitedethib.com> | 2019-08-29 17:32:22 +0200 |
commit | 04de74c992b0b7b380fdda9b42f8c69a6a098a46 (patch) | |
tree | 00d243fe55bb6b093f03df332ef0e315993c1b97 /app/javascript/flavours/glitch/features/ui/containers/notifications_container.js | |
parent | f11e9d552478c45f8559391e21528c89931a9b64 (diff) |
[Glitch] Add special alert for throttled requests
Port 81f864d4dac349dd7cd516149d00e1cffe063edc to glitch-soc Signed-off-by: Thibaut Girka <thib@sitedethib.com>
Diffstat (limited to 'app/javascript/flavours/glitch/features/ui/containers/notifications_container.js')
-rw-r--r-- | app/javascript/flavours/glitch/features/ui/containers/notifications_container.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/javascript/flavours/glitch/features/ui/containers/notifications_container.js b/app/javascript/flavours/glitch/features/ui/containers/notifications_container.js index 283aa2373..82278a3be 100644 --- a/app/javascript/flavours/glitch/features/ui/containers/notifications_container.js +++ b/app/javascript/flavours/glitch/features/ui/containers/notifications_container.js @@ -11,7 +11,7 @@ const mapStateToProps = (state, { intl }) => { const value = notification[key]; if (typeof value === 'object') { - notification[key] = intl.formatMessage(value); + notification[key] = intl.formatMessage(value, notification[`${key}_values`]); } })); |