mirror of
https://github.com/DSpace/dspace-angular.git
synced 2025-10-07 10:04:11 +00:00
85123: Fix tests
This commit is contained in:
@@ -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);
|
||||||
|
Reference in New Issue
Block a user