mirror of
https://github.com/DSpace/dspace-angular.git
synced 2025-10-18 07:23:03 +00:00
feat: migrate everything to standalone and fix build errors
This commit is contained in:
@@ -2,13 +2,16 @@ import { Component, Inject } from '@angular/core';
|
||||
import { TextMenuItemModel } from './models/text.model';
|
||||
import { rendersMenuItemForType } from '../menu-item.decorator';
|
||||
import { MenuItemType } from '../menu-item-type.model';
|
||||
import { TranslateModule } from '@ngx-translate/core';
|
||||
|
||||
/**
|
||||
* Component that renders a menu section of type TEXT
|
||||
*/
|
||||
@Component({
|
||||
selector: 'ds-text-menu-item',
|
||||
templateUrl: './text-menu-item.component.html',
|
||||
selector: 'ds-text-menu-item',
|
||||
templateUrl: './text-menu-item.component.html',
|
||||
standalone: true,
|
||||
imports: [TranslateModule]
|
||||
})
|
||||
@rendersMenuItemForType(MenuItemType.TEXT)
|
||||
export class TextMenuItemComponent {
|
||||
|
Reference in New Issue
Block a user