diff --git a/app/components/ComponentModelStructureEditor.vue b/app/components/ComponentModelStructureEditor.vue index 57989f4..3328261 100644 --- a/app/components/ComponentModelStructureEditor.vue +++ b/app/components/ComponentModelStructureEditor.vue @@ -5,13 +5,15 @@ :depth="0" :component-types="availableComponentTypes" :piece-types="availablePieceTypes" + :lock-type="lockRootType" + :locked-type-label="displayedRootTypeLabel" is-root /> diff --git a/app/components/StructureNodeEditor.vue b/app/components/StructureNodeEditor.vue index 9d3e7ba..417f7cf 100644 --- a/app/components/StructureNodeEditor.vue +++ b/app/components/StructureNodeEditor.vue @@ -8,25 +8,32 @@ {{ isRoot ? 'Famille de composant racine' : 'Famille de composant' }} - - {{ formatComponentTypeOption(type) }} - - -

- {{ node.typeComposantId ? `Sélection : ${getComponentTypeLabel(node.typeComposantId) || 'Inconnue'}` : 'Aucune famille sélectionnée' }} -

+ + + +

+ {{ node.typeComposantId ? `Sélection : ${getComponentTypeLabel(node.typeComposantId) || 'Inconnue'}` : 'Aucune famille sélectionnée' }} +

+ +