85123: Fix tests

This commit is contained in:
Bruno Roemers
2021-11-24 14:44:38 +01:00
parent 893a306da0
commit 7c23e2ef82

View File

@@ -293,7 +293,7 @@ export class AppComponent implements OnInit, AfterViewInit {
const headTagConfigs = themeConfig?.headTags; const headTagConfigs = themeConfig?.headTags;
if (isEmpty(headTagConfigs)) { if (isEmpty(headTagConfigs)) {
const parentThemeName = themeConfig.extends; const parentThemeName = themeConfig?.extends;
if (isNotEmpty(parentThemeName)) { if (isNotEmpty(parentThemeName)) {
// inherit the head tags of the parent theme // inherit the head tags of the parent theme
return this.createHeadTags(parentThemeName); return this.createHeadTags(parentThemeName);