mirror of
https://github.com/portainer/portainer.git
synced 2025-07-21 14:29:40 +02:00
fix(ui): app summary [EE-6515] (#10966)
This commit is contained in:
parent
3f28d56bfc
commit
ccc97e6f78
1 changed files with 1 additions and 1 deletions
|
@ -33,7 +33,7 @@ export function getAppResourceSummaries(
|
|||
newFormValues: ApplicationFormValues,
|
||||
oldFormValues?: ApplicationFormValues
|
||||
): Array<Summary> {
|
||||
if (!oldFormValues) {
|
||||
if (!oldFormValues?.Name) {
|
||||
return getCreatedApplicationResourcesNew(newFormValues);
|
||||
}
|
||||
return getUpdatedApplicationResources(newFormValues, oldFormValues);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue