Commit f677f584 authored by toulemonde's avatar toulemonde
Browse files

Merge branch 'developGitlabNew' into 'devlopGitlabNew/migration'

Develop gitlab new

See merge request !79
parents 040ff557 705fb3e9
Pipeline #7743 canceled with stages
in 82 minutes and 1 second
......@@ -53,6 +53,7 @@ import {DuplicateMetadataComponent} from '../../../user-actions/duplicate-metada
import {UserActionRemoveMetadataComponent} from '../../../user-actions/remove-metadata/remove-metadata.component';
import {FileTreeMetadataService} from '../file-tree-metadata/file-tree-metadata.service';
import { FileTreeService } from './file-tree.service';
import {PUA} from "../../../models/pua.model";
const FILE_TREE_TRANSLATE_PATH = 'PROFILE.EDIT_PROFILE.FILE_TREE';
......@@ -306,6 +307,10 @@ export class FileTreeComponent implements OnDestroy {
newNode.parent = parent;
newNode.children = [];
newNode.sedaData = sedaChild;
if (this.isElementComplex(newNode)) {
newNode.puaData = new PUA()
newNode.puaData.additionalProperties = false;
}
console.log('Parent node name: ' + parent.name);
console.log('New node : ', newNode);
......
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