diff --git a/client/src/components/ContentBlock.vue b/client/src/components/ContentBlock.vue index b8f0bd84..db5a2082 100644 --- a/client/src/components/ContentBlock.vue +++ b/client/src/components/ContentBlock.vue @@ -52,10 +52,10 @@ import CHAPTER_QUERY from '@/graphql/gql/chapterQuery.gql'; import DELETE_CONTENT_BLOCK_MUTATION from '@/graphql/gql/mutations/deleteContentBlock.gql'; - const INSTRUMENTS = { + const instruments = { base_communication: 'Sprache & Kommunikation', base_society: 'Gesellschaft' - } + }; export default { props: ['contentBlock', 'parent'], @@ -88,11 +88,11 @@ }, subtitle() { const contentType = this.contentBlock.type.toLowerCase() - if (!(contentType in INSTRUMENTS)) { + if (!(contentType in instruments)) { return '' } - return `Instrument - ${INSTRUMENTS[contentType]}` + return `Instrument - ${instruments[contentType]}` } },