Skip to content

Beautiful Open-Source Form Builder

fix mobile editor email (#660)

Chirag Chhatrala5bc0d3ccc821
diff --git a/client/components/open/forms/components/FormEditor.vue b/client/components/open/forms/components/FormEditor.vue
index 23e80e414..11273a10a 100644
--- a/client/components/open/forms/components/FormEditor.vue
+++ b/client/components/open/forms/components/FormEditor.vue
@@ -150,7 +150,7 @@ export default {
const breakpoints = useBreakpoints(breakpointsTailwind)
const isVisible = ref(breakpoints.smaller("md"))
watch(isVisible, (newValue) => {
- if (newValue) {
+ if (newValue && form?.value && form?.value?.id) {
opnFetch('/open/forms/' + form.value.id + '/mobile-editor-email')
}
})