Changed api call body's container model to available container + Fix API nullable values

This commit is contained in:
Eric NGUYEN 2022-08-31 16:15:38 +02:00
parent 4588aa9443
commit 8034652bdb
5 changed files with 12 additions and 14 deletions

View file

@ -68,7 +68,7 @@ function HandleSetContainerList(
setNewHistory(
AddContainers(
selectedContainer.children.length,
response.Containers.map(container => container.properties.type),
response.Containers.map(container => container.Type),
selectedContainer.properties.id,
configuration,
history,
@ -104,7 +104,7 @@ function HandleReplace(
const index = selectedContainer.parent.children.indexOf(selectedContainer);
const types = response.Containers.map(container => container.properties.type);
const types = response.Containers.map(container => container.Type);
const newHistoryBeforeDelete = AddContainers(
index + 1,
types,