{{ entity?.phone }}
+
{{ entry.label }}
{{ entry.value }}
-
+
diff --git a/src/app/child-dev-project/children/children-count-dashboard/children-count-dashboard.component.spec.ts b/src/app/child-dev-project/children/children-count-dashboard/children-count-dashboard.component.spec.ts
index 02bb7cf950..5cad0f0300 100644
--- a/src/app/child-dev-project/children/children-count-dashboard/children-count-dashboard.component.spec.ts
+++ b/src/app/child-dev-project/children/children-count-dashboard/children-count-dashboard.component.spec.ts
@@ -8,12 +8,12 @@ import {
import { ChildrenCountDashboardComponent } from "./children-count-dashboard.component";
import { MatCardModule } from "@angular/material/card";
-import { MatIconModule } from "@angular/material/icon";
import { ChildrenService } from "../children.service";
import { RouterTestingModule } from "@angular/router/testing";
import { Center, Child } from "../model/child";
import { Observable } from "rxjs";
import { ConfigurableEnumValue } from "../../../core/configurable-enum/configurable-enum.interface";
+import { FontAwesomeTestingModule } from "@fortawesome/angular-fontawesome/testing";
describe("ChildrenCountDashboardComponent", () => {
let component: ChildrenCountDashboardComponent;
@@ -41,7 +41,7 @@ describe("ChildrenCountDashboardComponent", () => {
TestBed.configureTestingModule({
declarations: [ChildrenCountDashboardComponent],
- imports: [MatIconModule, MatCardModule, RouterTestingModule],
+ imports: [MatCardModule, RouterTestingModule, FontAwesomeTestingModule],
providers: [{ provide: ChildrenService, useValue: childrenService }],
}).compileComponents();
})
diff --git a/src/app/child-dev-project/children/children-list/children-list.component.spec.ts b/src/app/child-dev-project/children/children-list/children-list.component.spec.ts
index caee0ec0b0..3111b9cd9a 100644
--- a/src/app/child-dev-project/children/children-list/children-list.component.spec.ts
+++ b/src/app/child-dev-project/children/children-list/children-list.component.spec.ts
@@ -23,6 +23,7 @@ import { School } from "../../schools/model/school";
import { LoggingService } from "../../../core/logging/logging.service";
import { ExportService } from "../../../core/export/export-service/export.service";
import { MockSessionModule } from "../../../core/session/mock-session.module";
+import { FontAwesomeTestingModule } from "@fortawesome/angular-fontawesome/testing";
describe("ChildrenListComponent", () => {
let component: ChildrenListComponent;
@@ -94,6 +95,7 @@ describe("ChildrenListComponent", () => {
RouterTestingModule,
Angulartics2Module.forRoot(),
MockSessionModule.withState(),
+ FontAwesomeTestingModule,
],
providers: [
{
diff --git a/src/app/child-dev-project/children/children.module.ts b/src/app/child-dev-project/children/children.module.ts
index 399b2662f6..6b731dae04 100644
--- a/src/app/child-dev-project/children/children.module.ts
+++ b/src/app/child-dev-project/children/children.module.ts
@@ -28,7 +28,6 @@ import { MatButtonToggleModule } from "@angular/material/button-toggle";
import { MatCardModule } from "@angular/material/card";
import { MatCheckboxModule } from "@angular/material/checkbox";
import { MatDialogModule } from "@angular/material/dialog";
-import { MatIconModule } from "@angular/material/icon";
import { MatListModule } from "@angular/material/list";
import { MatProgressBarModule } from "@angular/material/progress-bar";
import { MatSidenavModule } from "@angular/material/sidenav";
@@ -67,6 +66,7 @@ import { ChildrenBmiDashboardComponent } from "./children-bmi-dashboard/children
import { EntitySchemaService } from "../../core/entity/schema/entity-schema.service";
import { PhotoDatatype } from "./child-photo-service/datatype-photo";
import { EntityUtilsModule } from "../../core/entity-components/entity-utils/entity-utils.module";
+import { FontAwesomeModule } from "@fortawesome/angular-fontawesome";
@NgModule({
imports: [
@@ -86,7 +86,6 @@ import { EntityUtilsModule } from "../../core/entity-components/entity-utils/ent
MatSidenavModule,
MatButtonModule,
MatButtonToggleModule,
- MatIconModule,
MatCardModule,
MatSnackBarModule,
MatProgressBarModule,
@@ -108,6 +107,7 @@ import { EntityUtilsModule } from "../../core/entity-components/entity-utils/ent
EntitySubrecordModule,
EntityListModule,
EntityUtilsModule,
+ FontAwesomeModule,
],
declarations: [
ChildBlockComponent,
diff --git a/src/app/child-dev-project/children/children.service.ts b/src/app/child-dev-project/children/children.service.ts
index f89802e363..2aa96fd264 100644
--- a/src/app/child-dev-project/children/children.service.ts
+++ b/src/app/child-dev-project/children/children.service.ts
@@ -405,16 +405,11 @@ export class ChildrenService {
return this.dbIndexing.createIndex(designDoc);
}
- getEducationalMaterialsOfChild(
+ async getEducationalMaterialsOfChild(
childId: string
- ): Observable
{{ alert.message }}