diff --git a/src/app/projects/states/dashboard/directives/task-dashboard/directives/task-description-card/task-description-card.component.html b/src/app/projects/states/dashboard/directives/task-dashboard/directives/task-description-card/task-description-card.component.html index eb2889207..a71e1fbc3 100644 --- a/src/app/projects/states/dashboard/directives/task-dashboard/directives/task-description-card/task-description-card.component.html +++ b/src/app/projects/states/dashboard/directives/task-dashboard/directives/task-description-card/task-description-card.component.html @@ -1,6 +1,6 @@ - Task Details + {{ taskDef?.name }}
diff --git a/src/app/projects/states/dashboard/directives/task-dashboard/directives/task-description-card/task-description-card.component.ts b/src/app/projects/states/dashboard/directives/task-dashboard/directives/task-description-card/task-description-card.component.ts index ca0dbd2b8..3f80ad428 100644 --- a/src/app/projects/states/dashboard/directives/task-dashboard/directives/task-description-card/task-description-card.component.ts +++ b/src/app/projects/states/dashboard/directives/task-dashboard/directives/task-description-card/task-description-card.component.ts @@ -17,7 +17,7 @@ export class TaskDescriptionCardComponent { constructor( @Inject(gradeService) private GradeService: any, - @Inject(FileDownloaderService) private fileDownloader: FileDownloaderService + @Inject(FileDownloaderService) private fileDownloader: FileDownloaderService, ) { this.grades = { names: GradeService.grades, @@ -28,14 +28,14 @@ export class TaskDescriptionCardComponent { public downloadTaskSheet() { this.fileDownloader.downloadFile( this.taskDef.getTaskPDFUrl(true), - `${this.unit.code}-${this.taskDef.abbreviation}-TaskSheet.pdf` + `${this.unit.code}-${this.taskDef.abbreviation}-TaskSheet.pdf`, ); } public downloadResources() { this.fileDownloader.downloadFile( this.taskDef.getTaskResourcesUrl(true), - `${this.unit.code}-${this.taskDef.abbreviation}-TaskResources.zip` + `${this.unit.code}-${this.taskDef.abbreviation}-TaskResources.zip`, ); }