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

27 lines
508 B
Vue
Raw Normal View History

2023-12-09 14:47:03 +00:00
<template>
<div id="table-page">
<form-submissions/>
</div>
</template>
2024-01-11 16:16:50 +00:00
<script setup>
2023-12-20 15:10:32 +00:00
import FormSubmissions from '../../../../components/open/forms/components/FormSubmissions.vue'
2023-12-09 14:47:03 +00:00
2024-01-11 16:16:50 +00:00
const props = {
form: {type: Object, required: true}
}
2023-12-09 14:47:03 +00:00
2024-01-11 16:16:50 +00:00
definePageMeta({
middleware: "auth"
})
useOpnSeoMeta({
title: (props.form) ? 'Form Submissions - ' + props.form.title : 'Form Submissions'
})
2023-12-09 14:47:03 +00:00
onBeforeRouteLeave(()=>{
console.log('Clearing store state')
useRecordsStore().resetState()
})
2023-12-09 14:47:03 +00:00
</script>