CreateImageWizard: insert new compose on top of images list

The composeAdded action includes a field 'insert'. When set to true
`insert` will place the added compose at the beginning of the images
list. The test is modified so the new composes are added to the
beginning of the list.
This commit is contained in:
Jacob Kozol 2021-11-15 21:42:09 +01:00 committed by Tom Gundersen
parent 2de019ef42
commit cd8175fe73
2 changed files with 2 additions and 2 deletions

View file

@ -126,7 +126,7 @@ const CreateImageWizard = () => {
...response,
request,
image_status: { status: 'pending' }
}));
}, true));
})))
.then(() => {
history.push('/landing');