Skip to content

Commit

Permalink
Correction affichage propriétés spécifiques - cf #303
Browse files Browse the repository at this point in the history
  • Loading branch information
amandine-sahl committed Feb 1, 2024
1 parent 38d018f commit 5678268
Showing 1 changed file with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,10 @@ export class MonitoringPropertiesGComponent implements OnInit {
}

initSpecificProperties() {
this.specificFieldsNames = this.newParentType.template_specific.fieldNames;
// Suppression des propriétés génériques incluses dans les propriétés spécifiques
this.specificFieldsNames = this.newParentType.template_specific.fieldNames.filter(
(field) => !this.fieldsNames.includes(field)
);
this.specificFields = this.newParentType.template_specific.fieldLabels;
this.specificFieldDefinitions = this.newParentType.template_specific.fieldDefinitions;
}
Expand Down

0 comments on commit 5678268

Please sign in to comment.