opnform/client/pages/forms/[slug]/show/stats.vue

33 lines
577 B
Vue
Raw Normal View History

2023-12-09 14:47:03 +00:00
<template>
<div>
<h3 class="font-semibold mt-4 text-xl">
Form Analytics (last 30 days)
</h3>
<form-stats :form="form"/>
</div>
</template>
<script>
2023-12-20 15:10:32 +00:00
import FormStats from '../../../../components/open/forms/components/FormStats.vue'
2023-12-09 14:47:03 +00:00
export default {
components: {FormStats},
2023-12-20 17:38:43 +00:00
2023-12-09 14:47:03 +00:00
props: {
form: {type: Object, required: true},
},
setup (props) {
definePageMeta({
middleware: "auth"
})
useOpnSeoMeta({
title: (props.form) ? 'Form Analytics - '+props.form.title : 'Form Analytics'
})
},
2023-12-09 14:47:03 +00:00
computed: {
}
}
</script>