1 Commits

View File

@@ -299,6 +299,10 @@ export function useComponentEdit(componentId: string) {
payload.prix = null
}
if (component.value.structure) {
payload.structure = component.value.structure
}
saving.value = true
try {
const result = await updateComposant(component.value.id, payload)