persist notification filter
Summary: persist the state of the redux store of `blacklistedPlugins`, so we don't show notifications for them. This also fixes a bug where defaultFilters were not shown in the filterbar. Reviewed By: passy Differential Revision: D12924356 fbshipit-source-id: ebc5d2f5d2d3acfb5ed63d4085b65b7a78a7b05a
This commit is contained in:
committed by
Facebook Github Bot
parent
f7063448e2
commit
9fb3a56303
@@ -60,5 +60,12 @@ export default combineReducers({
|
||||
connections,
|
||||
),
|
||||
pluginStates,
|
||||
notifications,
|
||||
notifications: persistReducer(
|
||||
{
|
||||
key: 'notifications',
|
||||
storage,
|
||||
whitelist: ['blacklistedPlugins'],
|
||||
},
|
||||
notifications,
|
||||
),
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user