Skip to content

Commit

Permalink
#2004 - removed unused imports
Browse files Browse the repository at this point in the history
  • Loading branch information
Brajesh Kumar authored and Brajesh Kumar committed Oct 12, 2023
1 parent 580fbb9 commit a416a58
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,6 @@ import { applyUpdate } from "../../../../core/entity/model/entity-update";
import { filter } from "rxjs/operators";
import { UntilDestroy, untilDestroyed } from "@ngneat/until-destroy";
import { EntitySubrecordComponent } from "../../../../core/common-components/entity-subrecord/entity-subrecord/entity-subrecord.component";
import { EntityListConfig } from "app/core/entity-list/EntityListConfig";
import { ActivatedRoute } from "@angular/router";

/**
* Displays educational materials of a child, such as a pencil, rulers, e.t.c
Expand All @@ -34,7 +32,6 @@ export class EducationalMaterialComponent implements OnInit {
records: EducationalMaterial[] = [];
summary = "";
avgSummary = "";
listConfig: EntityListConfig;

@Input() config: { columns: FormFieldConfig[] } = {
columns: [
Expand All @@ -45,8 +42,7 @@ export class EducationalMaterialComponent implements OnInit {
],
};

constructor(private entityMapper: EntityMapperService,
private route: ActivatedRoute ) {
constructor(private entityMapper: EntityMapperService) {
this.entityMapper
.receiveUpdates(EducationalMaterial)
.pipe(
Expand Down
2 changes: 1 addition & 1 deletion src/app/core/config/config-fix.ts
Original file line number Diff line number Diff line change
Expand Up @@ -721,7 +721,7 @@ export const defaultJsonConfig = {
}
]
}
},
}
]
},
{
Expand Down

0 comments on commit a416a58

Please sign in to comment.