Skip to content

Commit

Permalink
Included user-menu component in custom theme.
Browse files Browse the repository at this point in the history
  • Loading branch information
Leano1998 authored and tdonohue committed Oct 25, 2023
1 parent a4aecce commit 2ec90b8
Show file tree
Hide file tree
Showing 4 changed files with 17 additions and 0 deletions.
Empty file.
Empty file.
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
import { Component } from '@angular/core';
import { UserMenuComponent as BaseComponent } from '../../../../../../app/shared/auth-nav-menu/user-menu/user-menu.component';

/**
* Component representing the {@link UserMenuComponent} of a page
*/
@Component({
selector: 'ds-user-menu',
// templateUrl: 'user-menu.component.html',
templateUrl: '../../../../../../app/shared/auth-nav-menu/user-menu/user-menu.component.html',
// styleUrls: ['user-menu.component.scss'],
styleUrls: ['../../../../../../app/shared/auth-nav-menu/user-menu/user-menu.component.scss'],
})
export class UserMenuComponent extends BaseComponent {
}
2 changes: 2 additions & 0 deletions src/themes/custom/lazy-theme.module.ts
Original file line number Diff line number Diff line change
Expand Up @@ -156,6 +156,7 @@ import { ItemStatusComponent } from './app/item-page/edit-item-page/item-status/
import { EditBitstreamPageComponent } from './app/bitstream-page/edit-bitstream-page/edit-bitstream-page.component';
import { FormModule } from '../../app/shared/form/form.module';
import { RequestCopyModule } from 'src/app/request-copy/request-copy.module';
import {UserMenuComponent} from './app/shared/auth-nav-menu/user-menu/user-menu.component';

const DECLARATIONS = [
FileSectionComponent,
Expand Down Expand Up @@ -239,6 +240,7 @@ const DECLARATIONS = [
SubmissionSectionUploadFileComponent,
ItemStatusComponent,
EditBitstreamPageComponent,
UserMenuComponent,
];

@NgModule({
Expand Down

0 comments on commit 2ec90b8

Please sign in to comment.