mirror of
https://github.com/DSpace/dspace-angular.git
synced 2025-10-12 04:23:04 +00:00
[DURACOM-191] fix build errors
This commit is contained in:
@@ -1,19 +1,6 @@
|
||||
import {
|
||||
Component,
|
||||
ComponentFactoryResolver,
|
||||
EventEmitter,
|
||||
Input,
|
||||
OnChanges,
|
||||
OnInit,
|
||||
Output,
|
||||
SimpleChanges,
|
||||
Type,
|
||||
ViewChild,
|
||||
} from '@angular/core';
|
||||
import { Component, EventEmitter, Input, Output, Type, } from '@angular/core';
|
||||
import { getComponentByWorkflowTaskOption } from './claimed-task-actions-decorator';
|
||||
import { ClaimedTask } from '../../../../core/tasks/models/claimed-task-object.model';
|
||||
import { ClaimedTaskActionsDirective } from './claimed-task-actions.directive';
|
||||
import { hasNoValue, hasValue, isNotEmpty } from '../../../empty.util';
|
||||
import { MyDSpaceActionsResult } from '../../mydspace-actions';
|
||||
import { Item } from '../../../../core/shared/item.model';
|
||||
import { WorkflowItem } from '../../../../core/submission/models/workflowitem.model';
|
||||
@@ -27,7 +14,6 @@ import { GenericConstructor } from '../../../../core/shared/generic-constructor'
|
||||
selector: 'ds-claimed-task-actions-loader',
|
||||
templateUrl: '../../../abstract-component-loader/abstract-component-loader.component.html',
|
||||
standalone: true,
|
||||
imports: [ClaimedTaskActionsDirective]
|
||||
})
|
||||
/**
|
||||
* Component for loading a ClaimedTaskAction component depending on the "option" input
|
||||
@@ -75,7 +61,7 @@ export class ClaimedTaskActionsLoaderComponent extends AbstractComponentLoaderCo
|
||||
];
|
||||
|
||||
public getComponent(): GenericConstructor<ClaimedTaskActionsAbstractComponent> {
|
||||
return getComponentByWorkflowTaskOption(this.option) as Type<unknown>;
|
||||
return getComponentByWorkflowTaskOption(this.option);
|
||||
}
|
||||
|
||||
}
|
||||
|
Reference in New Issue
Block a user