@ -118,7 +118,7 @@ export default {
...mapGetters('projects', ['currentProject']),
isIndividualProject() {
return this.$route.name.startsWith('projects-id')
return this.$route.name && this.$route.name.startsWith('projects-id')
}
},
@ -11,6 +11,7 @@ import TheFooter from '@/components/organisms/layout/TheFooter'
import TheHeader from '@/components/organisms/layout/TheHeader'
export default {
middleware: ['check-auth'],
components: {
TheFooter,
TheHeader
@ -9,6 +9,7 @@
import TheHeader from '~/components/organisms/layout/TheHeader'