From f35f671dc3829ef89591c09e703ea55e97caa435 Mon Sep 17 00:00:00 2001 From: Art Lowel Date: Mon, 6 Sep 2021 11:23:46 +0200 Subject: [PATCH] fix the profile page component in the custom theme --- src/app/profile-page/profile-page.module.ts | 3 ++- .../custom/app/profile-page/profile-page.component.ts | 6 ++++-- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/src/app/profile-page/profile-page.module.ts b/src/app/profile-page/profile-page.module.ts index 6fd0c8e4aa..0b2274f2d4 100644 --- a/src/app/profile-page/profile-page.module.ts +++ b/src/app/profile-page/profile-page.module.ts @@ -14,7 +14,8 @@ import { ThemedProfilePageComponent } from './themed-profile-page.component'; SharedModule ], exports: [ - ProfilePageSecurityFormComponent + ProfilePageSecurityFormComponent, + ProfilePageMetadataFormComponent ], declarations: [ ProfilePageComponent, diff --git a/src/themes/custom/app/profile-page/profile-page.component.ts b/src/themes/custom/app/profile-page/profile-page.component.ts index fe25f0685b..f285b3618c 100644 --- a/src/themes/custom/app/profile-page/profile-page.component.ts +++ b/src/themes/custom/app/profile-page/profile-page.component.ts @@ -3,8 +3,10 @@ import { ProfilePageComponent as BaseComponent } from '../../../../app/profile-p @Component({ selector: 'ds-profile-page', - styleUrls: ['./profile-page.component.scss'], - templateUrl: './profile-page.component.html' + // styleUrls: ['./profile-page.component.scss'], + styleUrls: ['../../../../app/profile-page/profile-page.component.scss'], + // templateUrl: './profile-page.component.html' + templateUrl: '../../../../app/profile-page/profile-page.component.html' }) /** * Component for a user to edit their profile information