fix mobile editor email (#660)

This commit is contained in:
Chirag Chhatrala
2025-01-06 17:22:03 +05:30
committed by GitHub
parent 75f82b3bc7
commit 5bc0d3ccc8

View File

@@ -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')
}
})