Skip to content

Commit e415dca

Browse files
authored
fix: add optional chaining to validation touch calls in groupsio settings drawer (#3245)
1 parent 1d1e2f7 commit e415dca

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

frontend/src/config/integrations/groupsio/components/groupsio-settings-drawer.vue

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -456,17 +456,17 @@ const reverifyAccount = () => {
456456
};
457457
458458
const onBlurEmail = () => {
459-
$v.value.email.$touch();
459+
$v.value.email?.$touch();
460460
canVerify();
461461
};
462462
463463
const onBlurPassword = () => {
464-
$v.value.password.$touch();
464+
$v.value.password?.$touch();
465465
canVerify();
466466
};
467467
468468
const onBlurTwoFactorCode = () => {
469-
$v.value.twoFactorCode.$touch();
469+
$v.value.twoFactorCode?.$touch();
470470
canVerify();
471471
};
472472

0 commit comments

Comments
 (0)