Add display type to notifications to allow snackbars to be shown.

This commit is contained in:
Daniel Dominguez 2018-05-18 13:51:39 -03:00
parent da79621727
commit eb86f6488a

View file

@ -56,6 +56,7 @@ rewards.claimReward = type => {
linkText: __('Show All'),
linkTarget: '/rewards',
isError: false,
displayType: ['snackbar'],
});
window.app.store.dispatch(action);