Commit f252ec8d authored by Baptiste Toulemonde's avatar Baptiste Toulemonde
Browse files

fix ennumeration labels et issue #22

parent 6987134b
......@@ -11,6 +11,7 @@
"controlSchema": "{\"$schema\":\"http://json-schema.org/draft-04/schema\",\"type\":\"object\",\"definitions\":{\"pattern-simple-date\":{\"type\":\"string\",\"pattern\":\"[0-9]{4}-[0-9]{2}-[0-9]{2}\"},\"pattern-date\":{\"type\":\"string\",\"pattern\":\"^([0-8][0-9]{3}-(0[1-9]|1[0-2])-(0[1-9]|[12][0-9]|3[01]))$\"}},\"properties\":{}}",
"tenant": 8,
"version": 1,
"type": "PUA",
"fields": [
]
}
......@@ -158,7 +158,7 @@ export class EditProfileComponent implements OnDestroy {
this.rulesTabChildrenToInclude.push();
this.rulesTabChildrenToExclude.push();
this.treeTabChildrenToInclude.push();
this.treeTabChildrenToExclude.push();
this.treeTabChildrenToExclude.push('ManagementMetadata', 'ArchiveUnit', 'DescriptiveMetadata');
this.objectTabChildrenToInclude.push('BinaryDataObject', 'PhysicalDataObject');
this.objectTabChildrenToExclude.push('ManagementMetadata', 'ArchiveUnit', 'DescriptiveMetadata');
this.tabShowElementRules.push(
......
......@@ -675,6 +675,7 @@ export class FileTreeMetadataComponent {
this.enumerationControl = true;
this.enumerationsSedaControl = this.sedaService.findSedaChildByName(sedaName, this.selectedSedaNode).Enumeration;
this.editedEnumControl = this.enumerationsSedaControl;
this.enumsControlSeleted = this.enumerationsSedaControl;
}
if ((this.isStandalone && elements.includes('Expression régulière'))
|| elements.includes(this.translated(ADD_PUA_CONTROL_TRANSLATE_PATH + '.EXPRESSION_REGULIERE_LABEL'))) {
......
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