Changed api call body's container model to available container + Fix API nullable values
This commit is contained in:
parent
4588aa9443
commit
8034652bdb
5 changed files with 12 additions and 14 deletions
|
@ -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,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue