about summary refs log tree commit diff
path: root/app/javascript/mastodon/selectors/index.js
diff options
context:
space:
mode:
authorThibG <thib@sitedethib.com>2019-08-27 16:50:39 +0200
committerEugen Rochko <eugen@zeonfederated.com>2019-08-27 16:50:39 +0200
commit81f864d4dac349dd7cd516149d00e1cffe063edc (patch)
treee0d2fea224577a13916768bef1e1007dd7792ee1 /app/javascript/mastodon/selectors/index.js
parenta033679eed02cb5ebba06373d1166d8a1fa82675 (diff)
Add special alert for throttled requests (#11677)
* Add special alert for throttled requests

* Use an extra attribute instead of an array
Diffstat (limited to 'app/javascript/mastodon/selectors/index.js')
-rw-r--r--app/javascript/mastodon/selectors/index.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/app/javascript/mastodon/selectors/index.js b/app/javascript/mastodon/selectors/index.js
index c87654547..6f1ce9602 100644
--- a/app/javascript/mastodon/selectors/index.js
+++ b/app/javascript/mastodon/selectors/index.js
@@ -128,6 +128,7 @@ export const getAlerts = createSelector([getAlertsBase], (base) => {
   base.forEach(item => {
     arr.push({
       message: item.get('message'),
+      message_values: item.get('message_values'),
       title: item.get('title'),
       key: item.get('key'),
       dismissAfter: 5000,