fix(password): watcher #2097

Merged
konrad merged 1 commits from dpschen/frontend:feature/fix-password-watcher into main 2022-07-04 15:31:18 +00:00
1 changed files with 1 additions and 1 deletions

View File

@ -45,7 +45,7 @@ const password = ref('')
const isValid = ref(!props.validateInitially)
watch(
props.validateInitially,
() => props.validateInitially,
() => props.validateInitially && validate(),
{immediate: true},
)