This is an automated email from the ASF dual-hosted git repository.
tiagobento pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/incubator-kie-tools.git
The following commit(s) were added to refs/heads/main by this push:
new 8540d8edde1 NO-ISSUE: DMN Editor: Invocation function name and
Annotation column name are copied twice (#2363)
8540d8edde1 is described below
commit 8540d8edde1f4c3e7561220312e31a534059a518
Author: Daniel José dos Santos <[email protected]>
AuthorDate: Thu May 23 14:04:35 2024 -0300
NO-ISSUE: DMN Editor: Invocation function name and Annotation column name
are copied twice (#2363)
---
.../boxed-expression-component/src/table/BeeTable/BeeTableTh.tsx | 6 ++++--
1 file changed, 4 insertions(+), 2 deletions(-)
diff --git
a/packages/boxed-expression-component/src/table/BeeTable/BeeTableTh.tsx
b/packages/boxed-expression-component/src/table/BeeTable/BeeTableTh.tsx
index b5ed5724afb..b64833e7c20 100644
--- a/packages/boxed-expression-component/src/table/BeeTable/BeeTableTh.tsx
+++ b/packages/boxed-expression-component/src/table/BeeTable/BeeTableTh.tsx
@@ -169,10 +169,12 @@ export function BeeTableTh<R extends object>({
useCallback(() => {
if (column.dataType) {
return `${column.label} (${column.dataType})`;
- } else {
+ } else if (!column.isInlineEditable) {
return column.label;
+ } else {
+ return "";
}
- }, [column.dataType, column.label])
+ }, [column.dataType, column.isInlineEditable, column.label])
);
const coordinates = useMemo<BeeTableCellCoordinates>(
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]