From c97be832d733e1c1bfb71a644938f3167d560cce Mon Sep 17 00:00:00 2001 From: Julien Nahum Date: Thu, 18 Jan 2024 11:37:04 +0100 Subject: [PATCH] Fix sentry tracked issues --- client/components/forms/PhoneInput.vue | 2 +- .../form-components/FormCustomSeo.vue | 33 ++-- .../open/tables/components/OpenFile.vue | 4 +- .../pages/auth/components/LoginForm.vue | 41 ++--- .../pages/forms/show/RegenerateFormLink.vue | 2 +- client/error.vue | 28 ++-- client/pages/forms/[slug]/edit.vue | 145 ++++++++---------- client/pages/forms/[slug]/show.vue | 2 +- client/pages/settings/workspace.vue | 2 +- client/plugins/sentry.js | 8 + 10 files changed, 136 insertions(+), 131 deletions(-) diff --git a/client/components/forms/PhoneInput.vue b/client/components/forms/PhoneInput.vue index ae530da..2dea39c 100644 --- a/client/components/forms/PhoneInput.vue +++ b/client/components/forms/PhoneInput.vue @@ -130,7 +130,7 @@ export default { }) ?? null }, onInput (event) { - this.inputVal = event.target.value.replace(/[^0-9]/g, '') + this.inputVal = event?.target?.value.replace(/[^0-9]/g, '') }, onChangeCountryCode () { if (!this.selectedCountryCode && this.countries.length > 0) { diff --git a/client/components/open/forms/components/form-components/FormCustomSeo.vue b/client/components/open/forms/components/form-components/FormCustomSeo.vue index b6ed129..12a460b 100644 --- a/client/components/open/forms/components/form-components/FormCustomSeo.vue +++ b/client/components/open/forms/components/form-components/FormCustomSeo.vue @@ -1,7 +1,8 @@