23 lines
465 B
Vue
23 lines
465 B
Vue
<template>
|
|
<div><NuxtPage /></div>
|
|
</template>
|
|
<script setup lang="ts">
|
|
import type { ProjectPageProjectFragment } from '~~/lib/common/generated/gql/graphql'
|
|
|
|
definePageMeta({
|
|
middleware: ['auth', 'require-valid-automation']
|
|
})
|
|
|
|
const attrs = useAttrs() as {
|
|
project: ProjectPageProjectFragment
|
|
}
|
|
|
|
const projectName = computed(() =>
|
|
attrs.project.name.length ? attrs.project.name : ''
|
|
)
|
|
|
|
useHead({
|
|
title: `Automations | ${projectName.value}`
|
|
})
|
|
</script>
|