Skip to content

Commit

Permalink
Listen to vue:loaded (#19)
Browse files Browse the repository at this point in the history
  • Loading branch information
indykoning authored Nov 29, 2024
1 parent e2c662e commit 0ec0d19
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
"require": {
"php": "^8.0|^8.1|^8.2",
"illuminate/support": "^9.0|^10.0|^11.0",
"rapidez/core": "^2.0"
"rapidez/core": "^2.8"
},
"config": {
"sort-packages": true
Expand Down
2 changes: 1 addition & 1 deletion resources/js/eventlisteners.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
document.addEventListener('turbo:load', () => {
document.addEventListener('vue:loaded', () => {
window.app.$on('checkout-payment-saved', (data) => {
if (!data.order.payment_method_code.includes('multisafepay_')) {
return;
Expand Down

0 comments on commit 0ec0d19

Please sign in to comment.