Skip to content
Snippets Groups Projects
Commit e6b30b9b authored by Jérémie BRISON's avatar Jérémie BRISON
Browse files

fix var name

parent 2d948b79
No related branches found
No related tags found
3 merge requests!68Recette,!67Dev,!37Fix model structure and fix equipments in details
...@@ -30,7 +30,7 @@ export class Structure { ...@@ -30,7 +30,7 @@ export class Structure {
public accompagnementDesDemarches: string[]; public accompagnementDesDemarches: string[];
public modalitesDacces: string[]; public modalitesDacces: string[];
public labelsEtQualifications: string[]; public labelsEtQualifications: string[];
public ordinateurs: number; public nbComputers: number;
public hours: Week; public hours: Week;
public isOpen: boolean; public isOpen: boolean;
public openedOn: OpeningDay; public openedOn: OpeningDay;
......
...@@ -53,7 +53,7 @@ describe('CardComponent', () => { ...@@ -53,7 +53,7 @@ describe('CardComponent', () => {
aideALaParentalite: '', aideALaParentalite: '',
cultureEtSecuriteNumerique: 264, cultureEtSecuriteNumerique: 264,
wifiEnAccesLibre: 'True', wifiEnAccesLibre: 'True',
ordinateurs: '', nbComputers: '',
nombre: '', nombre: '',
tablettes: '', tablettes: '',
bornesNumeriques: '', bornesNumeriques: '',
......
...@@ -170,7 +170,7 @@ ...@@ -170,7 +170,7 @@
<app-svg-icon [type]="'ico'" [icon]="getEquipmentsIcon(equipement)"></app-svg-icon> <app-svg-icon [type]="'ico'" [icon]="getEquipmentsIcon(equipement)"></app-svg-icon>
<p> <p>
{{ getEquipmentsLabel(equipement) }} {{ getEquipmentsLabel(equipement) }}
<span *ngIf="equipement == 'ordinateurs'; else otherEquipments"> : {{ structure.ordinateurs }}</span> <span *ngIf="equipement == 'ordinateurs'; else otherEquipments"> : {{ structure.nbComputers }}</span>
</p> </p>
</div> </div>
</div> </div>
......
...@@ -53,7 +53,7 @@ describe('StructureListComponent', () => { ...@@ -53,7 +53,7 @@ describe('StructureListComponent', () => {
aideALaParentalite: '', aideALaParentalite: '',
cultureEtSecuriteNumerique: 264, cultureEtSecuriteNumerique: 264,
wifiEnAccesLibre: 'True', wifiEnAccesLibre: 'True',
ordinateurs: '', nbComputers: '',
nombre: '', nombre: '',
tablettes: '', tablettes: '',
bornesNumeriques: '', bornesNumeriques: '',
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment