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
|
|
|
|
2024-02-03 11:50:57 +00:00
|
|
|
onBeforeRouteLeave(()=>{
|
|
|
|
console.log('Clearing store state')
|
|
|
|
useRecordsStore().resetState()
|
|
|
|
})
|
|
|
|
|
2023-12-09 14:47:03 +00:00
|
|
|
</script>
|