From 886ba94e83e05b5ac09033a866f7f78dba026533 Mon Sep 17 00:00:00 2001 From: Norbert Csaba Herczeg Date: Wed, 6 Nov 2024 15:41:13 +0100 Subject: [PATCH] JNG-6005 remove redundant tag label wrapping --- .../hu/blackbelt/judo/ui/generator/react/UiWidgetHelper.java | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/judo-ui-react/src/main/java/hu/blackbelt/judo/ui/generator/react/UiWidgetHelper.java b/judo-ui-react/src/main/java/hu/blackbelt/judo/ui/generator/react/UiWidgetHelper.java index 94faf942..7f65eaea 100644 --- a/judo-ui-react/src/main/java/hu/blackbelt/judo/ui/generator/react/UiWidgetHelper.java +++ b/judo-ui-react/src/main/java/hu/blackbelt/judo/ui/generator/react/UiWidgetHelper.java @@ -34,6 +34,7 @@ import static hu.blackbelt.judo.ui.generator.react.UiActionsHelper.isActionDefinitionCRUDCommand; import static hu.blackbelt.judo.ui.generator.react.UiPageContainerHelper.containerComponentName; +import static hu.blackbelt.judo.ui.generator.react.UiTableHelper.isTableTag; import static java.util.Arrays.stream; @Log @@ -514,6 +515,9 @@ public static boolean isLinkAssociation(Link link) { } public static boolean displayTableHeading(Table table, PageContainer container) { + if (isTableTag(table)) { + return false; + } return elementHasIconOrLabel(table) && !container.isIsSelector() && !container.isTable(); }