Rename constant
This commit is contained in:
parent
9df8ef6423
commit
e1936a33b1
|
|
@ -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]}`
|
||||
}
|
||||
},
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue