Browse Source
Merge pull request #919 from doccano/fix/#907
Fix the header behavior in the error page
pull/932/head
Hiroki Nakayama
4 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with
3 additions and
1 deletions
-
frontend/components/organisms/layout/TheHeader.vue
-
frontend/layouts/default.vue
-
frontend/layouts/demo.vue
|
@ -118,7 +118,7 @@ export default { |
|
|
...mapGetters('projects', ['currentProject']), |
|
|
...mapGetters('projects', ['currentProject']), |
|
|
|
|
|
|
|
|
isIndividualProject() { |
|
|
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' |
|
|
import TheHeader from '@/components/organisms/layout/TheHeader' |
|
|
|
|
|
|
|
|
export default { |
|
|
export default { |
|
|
|
|
|
middleware: ['check-auth'], |
|
|
components: { |
|
|
components: { |
|
|
TheFooter, |
|
|
TheFooter, |
|
|
TheHeader |
|
|
TheHeader |
|
|
|
@ -9,6 +9,7 @@ |
|
|
import TheHeader from '~/components/organisms/layout/TheHeader' |
|
|
import TheHeader from '~/components/organisms/layout/TheHeader' |
|
|
|
|
|
|
|
|
export default { |
|
|
export default { |
|
|
|
|
|
middleware: ['check-auth'], |
|
|
components: { |
|
|
components: { |
|
|
TheHeader |
|
|
TheHeader |
|
|
} |
|
|
} |
|
|