Merge branch 'fix/error_popup_signup' into 'develop'

fix(client): error popup does not appear on signup

Co-authored-by: 老周部落 <laozhoubuluo@gmail.com>

Closes #10708

See merge request firefish/firefish!10675
This commit is contained in:
naskya 2024-02-27 17:10:07 +00:00
commit e0447ba4a9

View file

@ -482,9 +482,10 @@ function onSubmit(): void {
})
.catch(() => {
submitting.value = false;
hcaptcha.value.reset?.();
recaptcha.value.reset?.();
hcaptcha.value?.reset?.();
recaptcha.value?.reset?.();
// Todo: API should return reason let frontend display
os.alert({
type: "error",
text: i18n.ts.somethingHappened,