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.
#2004 - removed unused imports
Browse files Browse the repository at this point in the history
Brajesh Kumar authored and Brajesh Kumar committed Oct 11, 2023

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
1 parent 1d693cf commit 7a9e8ab
Showing 2 changed files with 2 additions and 6 deletions.
Original file line number Diff line number Diff line change
@@ -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
@@ -34,7 +32,6 @@ export class EducationalMaterialComponent implements OnInit {
records: EducationalMaterial[] = [];
summary = "";
avgSummary = "";
listConfig: EntityListConfig;

@Input() config: { columns: FormFieldConfig[] } = {
columns: [
@@ -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(
2 changes: 1 addition & 1 deletion src/app/core/config/config-fix.ts
Original file line number Diff line number Diff line change
@@ -721,7 +721,7 @@ export const defaultJsonConfig = {
}
]
}
},
}
]
},
{

0 comments on commit 7a9e8ab

Please sign in to comment.