From 30611a4f960b1240903fd63a0fbe2fad922cf6d8 Mon Sep 17 00:00:00 2001 From: Brian Chan Date: Tue, 17 Dec 2024 23:28:13 +0530 Subject: [PATCH] LPD-44292 SF --- .../item/importer/FormLayoutStructureItemImporter.java | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/modules/apps/headless/headless-admin-site/headless-admin-site-impl/src/main/java/com/liferay/headless/admin/site/internal/resource/util/layout/structure/item/importer/FormLayoutStructureItemImporter.java b/modules/apps/headless/headless-admin-site/headless-admin-site-impl/src/main/java/com/liferay/headless/admin/site/internal/resource/util/layout/structure/item/importer/FormLayoutStructureItemImporter.java index 893b3126a3fe40..cc31563db00182 100644 --- a/modules/apps/headless/headless-admin-site/headless-admin-site-impl/src/main/java/com/liferay/headless/admin/site/internal/resource/util/layout/structure/item/importer/FormLayoutStructureItemImporter.java +++ b/modules/apps/headless/headless-admin-site/headless-admin-site-impl/src/main/java/com/liferay/headless/admin/site/internal/resource/util/layout/structure/item/importer/FormLayoutStructureItemImporter.java @@ -78,12 +78,11 @@ public LayoutStructureItem addLayoutStructureItem( formStyledLayoutStructureItem.setFormType( _toFormType(formConfig.getFormType())); - formStyledLayoutStructureItem.setNumberOfSteps( - formConfig.getNumberOfSteps()); - formStyledLayoutStructureItem.setIndexed( pageFormDefinition.getIndexed()); formStyledLayoutStructureItem.setName(pageFormDefinition.getName()); + formStyledLayoutStructureItem.setNumberOfSteps( + formConfig.getNumberOfSteps()); return formStyledLayoutStructureItem; }