Skip to content

Commit

Permalink
fix: snackbar listens to action event again
Browse files Browse the repository at this point in the history
  • Loading branch information
Jens Gustafsson authored and adrianschmidt committed Sep 10, 2019
1 parent a27b4de commit 2a55c87
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/snackbar/snackbar.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ export class Snackbar {
);

this.mdcSnackbar.listen('MDCSnackbar:closing', event => {
if (event.details === 'action') {
if (event.detail.reason === 'action') {
this.action.emit();
} else {
this.hide.emit();
Expand Down

0 comments on commit 2a55c87

Please sign in to comment.