Skip to content

Commit

Permalink
fix: add closeable to the floating notification
Browse files Browse the repository at this point in the history
  • Loading branch information
lukicenturi authored and kelsos committed Mar 22, 2024
1 parent f6f0705 commit faf38c5
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
5 changes: 4 additions & 1 deletion components/checkout/pay/CryptoPage.vue
Original file line number Diff line number Diff line change
Expand Up @@ -184,7 +184,10 @@ async function changePaymentMethod() {
</template>
</PaymentFrame>

<FloatingNotification :visible="!(data || loading) && !!step">
<FloatingNotification
:visible="!(data || loading) && !!step"
closeable
>
<template #title>
{{ step.title }}
</template>
Expand Down
1 change: 1 addition & 0 deletions components/checkout/pay/CryptoPaymentForm.vue
Original file line number Diff line number Diff line change
Expand Up @@ -206,6 +206,7 @@ const showChangePaymentDialog = ref(false);

<FloatingNotification
:timeout="10000"
closeable
:visible="failure"
@dismiss="clearErrors()"
>
Expand Down

0 comments on commit faf38c5

Please sign in to comment.