Skip to content
Snippets Groups Projects
Commit 5adf89b5 authored by Paulo's avatar Paulo
Browse files

fix(ajout des metadonnées): Correction d'un bug qui n'affichais pas la bonne...

fix(ajout des metadonnées): Correction d'un bug qui n'affichais pas la bonne listes de metadonnées à ajouter
parent 0a3a7f5e
No related branches found
No related tags found
No related merge requests found
...@@ -41,7 +41,6 @@ export class UserActionAddMetadataComponent implements OnInit { ...@@ -41,7 +41,6 @@ export class UserActionAddMetadataComponent implements OnInit {
this.sedaData = data; this.sedaData = data;
let node = this.sedaService.getSedaNode(this.sedaData, this.fileNode.name); let node = this.sedaService.getSedaNode(this.sedaData, this.fileNode.name);
this.sedaNodeFound = node; this.sedaNodeFound = node;
this.sedaNodeFound = data;
this.allowedChildren = this.sedaService.findSelectableElementList(this.sedaNodeFound,this.fileNode) this.allowedChildren = this.sedaService.findSelectableElementList(this.sedaNodeFound,this.fileNode)
.filter(e=>e.Element !== SedaElementConstants.attribute); .filter(e=>e.Element !== SedaElementConstants.attribute);
this.allowedChildrenNames = this.allowedChildren.map(e=>e.Name); this.allowedChildrenNames = this.allowedChildren.map(e=>e.Name);
......
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