fix forms shows pages (#310)
This commit is contained in:
parent
e3805635a0
commit
4baa0d8a71
|
@ -21,15 +21,17 @@
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script setup>
|
<script setup>
|
||||||
import ShareLink from '../../../../components/pages/forms/show/ShareLink.vue'
|
import ShareLink from '~/components/pages/forms/show/ShareLink.vue'
|
||||||
import EmbedCode from '../../../../components/pages/forms/show/EmbedCode.vue'
|
import EmbedCode from '~/components/pages/forms/show/EmbedCode.vue'
|
||||||
import FormQrCode from '../../../../components/pages/forms/show/FormQrCode.vue'
|
import FormQrCode from '~/components/pages/forms/show/FormQrCode.vue'
|
||||||
import UrlFormPrefill from '../../../../components/pages/forms/show/UrlFormPrefill.vue'
|
import UrlFormPrefill from '~/components/pages/forms/show/UrlFormPrefill.vue'
|
||||||
import RegenerateFormLink from '../../../../components/pages/forms/show/RegenerateFormLink.vue'
|
import RegenerateFormLink from '~/components/pages/forms/show/RegenerateFormLink.vue'
|
||||||
import AdvancedFormUrlSettings from '../../../../components/open/forms/components/AdvancedFormUrlSettings.vue'
|
import AdvancedFormUrlSettings from '~/components/open/forms/components/AdvancedFormUrlSettings.vue'
|
||||||
import EmbedFormAsPopupModal from '../../../../components/pages/forms/show/EmbedFormAsPopupModal.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({
|
definePageMeta({
|
||||||
middleware: "auth"
|
middleware: "auth"
|
||||||
|
|
|
@ -7,26 +7,17 @@
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script>
|
<script setup>
|
||||||
import FormStats from '../../../../components/open/forms/components/FormStats.vue'
|
import FormStats from '~/components/open/forms/components/FormStats.vue'
|
||||||
|
|
||||||
export default {
|
const props = defineProps({
|
||||||
components: {FormStats},
|
form: {type: Object, required: true}
|
||||||
|
})
|
||||||
|
|
||||||
props: {
|
definePageMeta({
|
||||||
form: {type: Object, required: true},
|
middleware: "auth"
|
||||||
},
|
})
|
||||||
|
useOpnSeoMeta({
|
||||||
setup (props) {
|
title: (props.form) ? 'Form Analytics - ' + props.form.title : 'Form Analytics'
|
||||||
definePageMeta({
|
})
|
||||||
middleware: "auth"
|
|
||||||
})
|
|
||||||
useOpnSeoMeta({
|
|
||||||
title: (props.form) ? 'Form Analytics - '+props.form.title : 'Form Analytics'
|
|
||||||
})
|
|
||||||
},
|
|
||||||
|
|
||||||
computed: {
|
|
||||||
}
|
|
||||||
}
|
|
||||||
</script>
|
</script>
|
||||||
|
|
|
@ -5,11 +5,11 @@
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script setup>
|
<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}
|
form: {type: Object, required: true}
|
||||||
}
|
})
|
||||||
|
|
||||||
definePageMeta({
|
definePageMeta({
|
||||||
middleware: "auth"
|
middleware: "auth"
|
||||||
|
|
Loading…
Reference in New Issue