1
0
Fork 0
mirror of https://github.com/portainer/portainer.git synced 2025-07-22 14:59:41 +02:00

fix(container): runtime and resources issues EE-6306 (#10611)

This commit is contained in:
cmeng 2023-11-27 11:56:44 +13:00 committed by GitHub
parent 1bcbfb8213
commit dc574af734
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
6 changed files with 55 additions and 15 deletions

View file

@ -186,13 +186,13 @@ export function InnerForm({
? (values) => (
<EditResourcesForm
initialValues={values}
redeploy={(values) => {
onChange={(values) => {
setFieldValue(
'resources.resources',
values
);
return submitForm();
}}
redeploy={submitForm}
isImageInvalid={!!errors?.image}
/>
)