Merge pull request #1493 from dan1d/issue-1488-snackbars-notifications

Add display type to notifications to allow snackbar to be shown.
This commit is contained in:
Sean Yesmunt 2018-05-19 09:49:56 -04:00 committed by GitHub
commit f0c2fd1f1e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

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