mirror of
https://github.com/DSpace/dspace-angular.git
synced 2025-10-19 16:03:02 +00:00
[CST-5253] Add view item button for workflow items
This commit is contained in:
@@ -9,6 +9,7 @@ import { WorkflowItemDataService } from '../../../core/submission/workflowitem-d
|
||||
import { NotificationsService } from '../../notifications/notifications.service';
|
||||
import { RequestService } from '../../../core/data/request.service';
|
||||
import { SearchService } from '../../../core/shared/search/search.service';
|
||||
import { getWorkflowItemViewRoute } from '../../../workflowitems-edit-page/workflowitems-edit-page-routing-paths';
|
||||
|
||||
/**
|
||||
* This component represents actions related to WorkflowItem object.
|
||||
@@ -44,6 +45,13 @@ export class WorkflowitemActionsComponent extends MyDSpaceActionsComponent<Workf
|
||||
super(WorkflowItem.type, injector, router, notificationsService, translate, searchService, requestService);
|
||||
}
|
||||
|
||||
/**
|
||||
* Get the workflowitem view route.
|
||||
*/
|
||||
getWorkflowItemViewRoute(workflowitem: WorkflowItem): string {
|
||||
return getWorkflowItemViewRoute(workflowitem?.id);
|
||||
}
|
||||
|
||||
/**
|
||||
* Init the target object
|
||||
*
|
||||
|
Reference in New Issue
Block a user