Skip to content

Commit

Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: remove duplicate status icon component
Browse files Browse the repository at this point in the history
macite committed Jul 26, 2021
1 parent 9ac0e2e commit d308df6
Showing 5 changed files with 1 addition and 76 deletions.

This file was deleted.

37 changes: 0 additions & 37 deletions src/app/common/task-status-icon/task-status-icon.component.scss

This file was deleted.

31 changes: 0 additions & 31 deletions src/app/common/task-status-icon/task-status-icon.component.ts

This file was deleted.

3 changes: 0 additions & 3 deletions src/app/doubtfire-angular.module.ts
Original file line number Diff line number Diff line change
@@ -151,8 +151,6 @@ import { TaskAssessmentModalComponent } from './common/modals/task-assessment-mo

import { TaskSubmissionHistoryComponent } from './tasks/task-submission-history/task-submission-history.component';

import { TaskStatusIconComponent } from './common/task-status-icon/task-status-icon.component';

@NgModule({
// Components we declare
declarations: [
@@ -202,7 +200,6 @@ import { TaskStatusIconComponent } from './common/task-status-icon/task-status-i
TaskAssessmentCommentComponent,
TaskAssessmentModalComponent,
TaskSubmissionHistoryComponent,
TaskStatusIconComponent,
],
// Module Imports
imports: [
Original file line number Diff line number Diff line change
@@ -8,7 +8,7 @@
*ngFor="let tab of tabs"
(click)="openSubmission(tab)">
<div style="-webkit-box-flex: 1; flex: 1;">{{tab.timestamp | date: 'dd/MM/yy, hh:mm a'}}</div>
&nbsp; <task-status-icon [taskStatus]="tab.taskStatus" ></task-status-icon>
&nbsp; <status-icon [status]="tab.taskStatus" ></status-icon>
</mat-list-item>
</mat-list>
</div>

0 comments on commit d308df6

Please sign in to comment.