opnform/resources/js/pages/forms/show/stats.vue

31 lines
604 B
Vue
Raw Normal View History

<template>
<div>
<h3 class="font-semibold mt-4 text-xl">
Form Analytics (last 30 days)
</h3>
<form-stats :form="form"/>
</div>
</template>
<script>
import FormStats from '../../../components/open/forms/components/FormStats.vue'
import SeoMeta from '../../../mixins/seo-meta.js'
export default {
2023-03-27 13:28:22 +00:00
name: 'Stats',
components: {FormStats},
props: {
2023-03-26 11:43:23 +00:00
form: {type: Object, required: true},
},
mixins: [SeoMeta],
2023-03-26 11:43:23 +00:00
data: () => ({}),
computed: {
metaTitle() {
2023-03-26 11:43:23 +00:00
return (this.form ? ('Form Analytics - ' + this.form.title) : 'Form Analytics')
}
}
}
2023-03-26 11:43:23 +00:00
</script>