Fixed form creation
This commit is contained in:
30
client/pages/forms/[slug]/show/stats.vue
Normal file
30
client/pages/forms/[slug]/show/stats.vue
Normal file
@@ -0,0 +1,30 @@
|
||||
<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 {
|
||||
name: 'Stats',
|
||||
components: {FormStats},
|
||||
props: {
|
||||
form: {type: Object, required: true},
|
||||
},
|
||||
mixins: [SeoMeta],
|
||||
|
||||
data: () => ({}),
|
||||
|
||||
computed: {
|
||||
metaTitle() {
|
||||
return (this.form ? ('Form Analytics - ' + this.form.title) : 'Form Analytics')
|
||||
}
|
||||
}
|
||||
}
|
||||
</script>
|
||||
Reference in New Issue
Block a user