This commit is contained in:
Julien Nahum 2024-02-06 10:45:28 +01:00
commit 418054a9b2
3 changed files with 24 additions and 31 deletions

View File

@ -21,15 +21,17 @@
</template>
<script setup>
import ShareLink from '../../../../components/pages/forms/show/ShareLink.vue'
import EmbedCode from '../../../../components/pages/forms/show/EmbedCode.vue'
import FormQrCode from '../../../../components/pages/forms/show/FormQrCode.vue'
import UrlFormPrefill from '../../../../components/pages/forms/show/UrlFormPrefill.vue'
import RegenerateFormLink from '../../../../components/pages/forms/show/RegenerateFormLink.vue'
import AdvancedFormUrlSettings from '../../../../components/open/forms/components/AdvancedFormUrlSettings.vue'
import EmbedFormAsPopupModal from '../../../../components/pages/forms/show/EmbedFormAsPopupModal.vue'
import ShareLink from '~/components/pages/forms/show/ShareLink.vue'
import EmbedCode from '~/components/pages/forms/show/EmbedCode.vue'
import FormQrCode from '~/components/pages/forms/show/FormQrCode.vue'
import UrlFormPrefill from '~/components/pages/forms/show/UrlFormPrefill.vue'
import RegenerateFormLink from '~/components/pages/forms/show/RegenerateFormLink.vue'
import AdvancedFormUrlSettings from '~/components/open/forms/components/AdvancedFormUrlSettings.vue'
import EmbedFormAsPopupModal from '~/components/pages/forms/show/EmbedFormAsPopupModal.vue'
const props = defineProps({form: {type: Object, required: true}})
const props = defineProps({
form: {type: Object, required: true}
})
definePageMeta({
middleware: "auth"

View File

@ -7,26 +7,17 @@
</div>
</template>
<script>
import FormStats from '../../../../components/open/forms/components/FormStats.vue'
<script setup>
import FormStats from '~/components/open/forms/components/FormStats.vue'
export default {
components: {FormStats},
const props = defineProps({
form: {type: Object, required: true}
})
props: {
form: {type: Object, required: true},
},
setup (props) {
definePageMeta({
middleware: "auth"
})
useOpnSeoMeta({
title: (props.form) ? 'Form Analytics - ' + props.form.title : 'Form Analytics'
})
},
computed: {
}
}
</script>

View File

@ -5,11 +5,11 @@
</template>
<script setup>
import FormSubmissions from '../../../../components/open/forms/components/FormSubmissions.vue'
import FormSubmissions from '~/components/open/forms/components/FormSubmissions.vue'
const props = {
const props = defineProps({
form: {type: Object, required: true}
}
})
definePageMeta({
middleware: "auth"