Add special alert for throttled requests (#11677)
* Add special alert for throttled requests * Use an extra attribute instead of an array
This commit is contained in:
parent
a033679eed
commit
81f864d4da
4 changed files with 13 additions and 3 deletions
|
@ -14,6 +14,7 @@ export default function alerts(state = initialState, action) {
|
|||
key: state.size > 0 ? state.last().get('key') + 1 : 0,
|
||||
title: action.title,
|
||||
message: action.message,
|
||||
message_values: action.message_values,
|
||||
}));
|
||||
case ALERT_DISMISS:
|
||||
return state.filterNot(item => item.get('key') === action.alert.key);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue