mirror of
https://github.com/DSpace/dspace-angular.git
synced 2025-10-15 05:53:03 +00:00
69115: ClaimedTaskDataService and components refactoring
This commit is contained in:
@@ -16,7 +16,7 @@ import { RequestService } from '../../../core/data/request.service';
|
||||
import { SearchService } from '../../../core/shared/search/search.service';
|
||||
import { WorkflowAction } from '../../../core/tasks/models/workflow-action-object.model';
|
||||
import { WorkflowActionDataService } from '../../../core/data/workflow-action-data.service';
|
||||
import { WORKFLOW_TASK_OPTION_RETURN } from './return-to-pool/claimed-task-actions-return-to-pool.component';
|
||||
import { WorkflowTaskOptions } from './workflow-task-options.model';
|
||||
|
||||
/**
|
||||
* This component represents actions related to ClaimedTask object.
|
||||
@@ -47,7 +47,7 @@ export class ClaimedTaskActionsComponent extends MyDSpaceActionsComponent<Claime
|
||||
* The option used to render the "return to pool" component
|
||||
* Every claimed task contains this option
|
||||
*/
|
||||
public returnToPoolOption = WORKFLOW_TASK_OPTION_RETURN;
|
||||
public returnToPoolOption = WorkflowTaskOptions.ReturnToPool;
|
||||
|
||||
/**
|
||||
* Initialize instance variables
|
||||
|
Reference in New Issue
Block a user