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

fix(model) : fix condition

parent 7fc68258
No related branches found
No related tags found
3 merge requests!68Recette,!67Dev,!37Fix model structure and fix equipments in details
......@@ -82,7 +82,7 @@ export class Structure {
* Check if a structure has equipments
*/
public hasEquipments(): boolean {
if (this.equipementsEtServicesProposes) {
if (this.equipementsEtServicesProposes.length) {
return true;
}
return false;
......
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