diff --git a/source/client/components/CVMeta.ts b/source/client/components/CVMeta.ts index 207b464d..f8470588 100644 --- a/source/client/components/CVMeta.ts +++ b/source/client/components/CVMeta.ts @@ -59,9 +59,11 @@ export default class CVMeta extends Component if (data.collection) { this.collection.dictionary = data.collection; - Object.keys(this.collection.get("titles")).forEach( key => { - this.language.addLanguage(ELanguageType[key]); - }); + if(this.collection.get("titles")) { + Object.keys(this.collection.get("titles")).forEach( key => { + this.language.addLanguage(ELanguageType[key]); + }); + } } if (data.process) { this.process.dictionary = data.process;