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 {
public accompagnementDesDemarches: string[];
public modalitesDacces: string[];
public labelsEtQualifications: string[];
public ordinateurs: number;
public nbComputers: number;
public hours: Week;
public isOpen: boolean;
public openedOn: OpeningDay;
......
......@@ -53,7 +53,7 @@ describe('CardComponent', () => {
aideALaParentalite: '',
cultureEtSecuriteNumerique: 264,
wifiEnAccesLibre: 'True',
ordinateurs: '',
nbComputers: '',
nombre: '',
tablettes: '',
bornesNumeriques: '',
......
......@@ -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>
......
......@@ -53,7 +53,7 @@ describe('StructureListComponent', () => {
aideALaParentalite: '',
cultureEtSecuriteNumerique: 264,
wifiEnAccesLibre: 'True',
ordinateurs: '',
nbComputers: '',
nombre: '',
tablettes: '',
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