Skip to content

Commit

Permalink
Merge pull request #270 from PrestaShopCorp/snackbar-add-close-on-action
Browse files Browse the repository at this point in the history
SnackBar: add close on action-button
  • Loading branch information
mattgoud authored Dec 11, 2023
2 parents ce1acf7 + 787d34c commit 7bc06fa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/components/snackbar/src/snackbar.vue
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
<button
v-if="action"
class="puik-snackbar__action"
@click="action?.callback"
@click="action?.callback(), close()"
>
{{ action.label }}
</button>
Expand Down

0 comments on commit 7bc06fa

Please sign in to comment.