diff --git a/src/app/projects/states/dashboard/directives/task-dashboard/task-dashboard.component.html b/src/app/projects/states/dashboard/directives/task-dashboard/task-dashboard.component.html
index 931c569b6..b8c881e56 100644
--- a/src/app/projects/states/dashboard/directives/task-dashboard/task-dashboard.component.html
+++ b/src/app/projects/states/dashboard/directives/task-dashboard/task-dashboard.component.html
@@ -1,3 +1,65 @@
+
+
+ {{ task.definition.name }}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/src/app/projects/states/dashboard/directives/task-dashboard/task-dashboard.component.ts b/src/app/projects/states/dashboard/directives/task-dashboard/task-dashboard.component.ts
index 8446b9b11..cf0fe6c3f 100644
--- a/src/app/projects/states/dashboard/directives/task-dashboard/task-dashboard.component.ts
+++ b/src/app/projects/states/dashboard/directives/task-dashboard/task-dashboard.component.ts
@@ -16,6 +16,7 @@ import {DashboardViews} from '../../selected-task.service';
export class TaskDashboardComponent implements OnInit, OnChanges {
@Input() task: Task;
@Input() pdfUrl: string;
+ @Input() unitRole: any;
public DashboardViews = DashboardViews;
@@ -75,6 +76,10 @@ export class TaskDashboardComponent implements OnInit, OnChanges {
this.taskAssessmentModal.show(this.task);
}
+ setCurrentView(view: DashboardViews): void {
+ this.selectedTaskService.currentView$.next(view);
+ }
+
downloadSubmission() {
this.fileDownloader.downloadFile(this.urls.taskSubmissionPdfAttachmentUrl, 'submission.pdf');
}