Set middleware on pages (#278)

* Se middleware on pages

* Se middleware on account page
This commit is contained in:
formsdev
2024-01-05 15:17:36 +05:30
committed by GitHub
parent 2207c8cd90
commit cc7d64a0c6
16 changed files with 52 additions and 39 deletions

View File

@@ -45,6 +45,9 @@ export default {
},
setup (props) {
definePageMeta({
middleware: "auth"
})
useOpnSeoMeta({
title: (props.form) ? 'Share Form - '+props.form.title : 'Share Form'
})

View File

@@ -18,6 +18,9 @@ export default {
},
setup (props) {
definePageMeta({
middleware: "auth"
})
useOpnSeoMeta({
title: (props.form) ? 'Form Analytics - '+props.form.title : 'Form Analytics'
})

View File

@@ -14,6 +14,9 @@ export default {
},
setup (props) {
definePageMeta({
middleware: "auth"
})
useOpnSeoMeta({
title: (props.form) ? 'Form Submissions - '+props.form.title : 'Form Submissions'
})