Skip to content

Commit 2d0ab06

Browse files
authored
Check email availability if it's prefilled (#1033)
1 parent ba868a6 commit 2d0ab06

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

resources/js/components/Checkout/CheckoutLogin.vue

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,12 @@ export default {
3434
return this.$scopedSlots.default(this)
3535
},
3636
37+
mounted() {
38+
if (!user.value.is_logged_in && this.email) {
39+
this.checkEmailAvailability()
40+
}
41+
},
42+
3743
methods: {
3844
async go() {
3945
if (user.value.is_logged_in) {

0 commit comments

Comments
 (0)