Commit 3a11baf2 authored by Julien's avatar Julien
Browse files

fixing private

parent e6cbea9c
Pipeline #17255 failed with stages
in 1 minute and 36 seconds
......@@ -8,7 +8,7 @@
</select>
<br>
<a *ngFor="let agence of filteredAgencies" href="#" class="list-group-item list-group-item-action"
(click)="onSelect(agence)" [class.active]="agence==selectedAgence">{{agence.nom}} <span class="text-muted">à {{agence.ville}}</span> </a>
(click)="onSelect(agence)" [class.active]="agence==getSelectedAgence()">{{agence.nom}} <span class="text-muted">à {{agence.ville}}</span> </a>
</div>
<div class="col-9">
<form action="" [style.visibility]="queryVehicules == undefined ? 'hidden' : 'visible'">
......
......@@ -172,4 +172,8 @@ export class HomeComponent implements OnInit {
}
});
}
getSelectedAgence(): Agence {
return this.selectedAgence;
}
}
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment