add changes at schema to the main branch <HMS-4066>

This commit is contained in:
Michal Gold 2024-05-28 11:06:12 +03:00
parent 64c590c0db
commit 0e71489a9f
5 changed files with 23 additions and 4 deletions

View file

@ -19,7 +19,8 @@ export const BuildImagesButton = ({
const [buildBlueprint, { isLoading: imageBuildLoading }] =
useComposeBlueprintMutation();
const onBuildHandler = async () => {
selectedBlueprintId && (await buildBlueprint({ id: selectedBlueprintId }));
selectedBlueprintId &&
(await buildBlueprint({ id: selectedBlueprintId, body: {} }));
};
return (
<Button