From e6b30b9b2eb64c77927aec493821c0be03f10a51 Mon Sep 17 00:00:00 2001 From: Jeremie BRISON <ext.sopra.jbrison@grandlyon.com> Date: Mon, 7 Dec 2020 14:46:15 +0100 Subject: [PATCH] fix var name --- src/app/models/structure.model.ts | 2 +- src/app/structure-list/components/card/card.component.spec.ts | 2 +- .../structure-details/structure-details.component.html | 2 +- src/app/structure-list/structure-list.component.spec.ts | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/app/models/structure.model.ts b/src/app/models/structure.model.ts index 6edf9098c..7fbbbde2a 100644 --- a/src/app/models/structure.model.ts +++ b/src/app/models/structure.model.ts @@ -30,7 +30,7 @@ export class Structure { public accompagnementDesDemarches: string[]; public modalitesDacces: string[]; public labelsEtQualifications: string[]; - public ordinateurs: number; + public nbComputers: number; public hours: Week; public isOpen: boolean; public openedOn: OpeningDay; diff --git a/src/app/structure-list/components/card/card.component.spec.ts b/src/app/structure-list/components/card/card.component.spec.ts index f3a5672df..afcb110c0 100644 --- a/src/app/structure-list/components/card/card.component.spec.ts +++ b/src/app/structure-list/components/card/card.component.spec.ts @@ -53,7 +53,7 @@ describe('CardComponent', () => { aideALaParentalite: '', cultureEtSecuriteNumerique: 264, wifiEnAccesLibre: 'True', - ordinateurs: '', + nbComputers: '', nombre: '', tablettes: '', bornesNumeriques: '', diff --git a/src/app/structure-list/components/structure-details/structure-details.component.html b/src/app/structure-list/components/structure-details/structure-details.component.html index 824e1b12e..b21461bce 100644 --- a/src/app/structure-list/components/structure-details/structure-details.component.html +++ b/src/app/structure-list/components/structure-details/structure-details.component.html @@ -170,7 +170,7 @@ <app-svg-icon [type]="'ico'" [icon]="getEquipmentsIcon(equipement)"></app-svg-icon> <p> {{ getEquipmentsLabel(equipement) }} - <span *ngIf="equipement == 'ordinateurs'; else otherEquipments"> : {{ structure.ordinateurs }}</span> + <span *ngIf="equipement == 'ordinateurs'; else otherEquipments"> : {{ structure.nbComputers }}</span> </p> </div> </div> diff --git a/src/app/structure-list/structure-list.component.spec.ts b/src/app/structure-list/structure-list.component.spec.ts index 2cae39e9c..bffca76c3 100644 --- a/src/app/structure-list/structure-list.component.spec.ts +++ b/src/app/structure-list/structure-list.component.spec.ts @@ -53,7 +53,7 @@ describe('StructureListComponent', () => { aideALaParentalite: '', cultureEtSecuriteNumerique: 264, wifiEnAccesLibre: 'True', - ordinateurs: '', + nbComputers: '', nombre: '', tablettes: '', bornesNumeriques: '', -- GitLab