Skip to content

Commit c13e4d5

Browse files
committed
small layout tweak in variable
1 parent 612cda8 commit c13e4d5

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

libs/web-flow-executor/src/nodes/scoped-variable.ts

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -393,23 +393,23 @@ export const getScopedVariable =
393393
);
394394
} else if (fieldType === 'dictionary') {
395395
if (htmlNode && htmlNode?.domElement) {
396-
(htmlNode.domElement as unknown as HTMLElement).textContent =
397-
getLabel('dictionary');
396+
(htmlNode.domElement as unknown as HTMLElement).innerHTML =
397+
getLabelAsHtml('dictionary');
398398
}
399399
} else if (fieldType === 'array') {
400400
if (htmlNode && htmlNode?.domElement) {
401-
(htmlNode.domElement as unknown as HTMLElement).textContent =
402-
getLabel('array');
401+
(htmlNode.domElement as unknown as HTMLElement).innerHTML =
402+
getLabelAsHtml('array');
403403
}
404404
} else if (fieldType === 'grid') {
405405
if (htmlNode && htmlNode?.domElement) {
406-
(htmlNode.domElement as unknown as HTMLElement).textContent =
407-
getLabel('grid');
406+
(htmlNode.domElement as unknown as HTMLElement).innerHTML =
407+
getLabelAsHtml('grid');
408408
}
409409
} else if (fieldType === 'enum') {
410410
if (htmlNode && htmlNode?.domElement) {
411-
(htmlNode.domElement as unknown as HTMLElement).textContent =
412-
getLabel('enum');
411+
(htmlNode.domElement as unknown as HTMLElement).innerHTML =
412+
getLabelAsHtml('enum');
413413
}
414414
} else {
415415
if (htmlNode && htmlNode?.domElement) {
@@ -939,7 +939,7 @@ export const getScopedVariable =
939939
htmlNode = createElement(
940940
'div',
941941
{
942-
class: '',
942+
class: 'flex flex-col',
943943
},
944944
undefined,
945945
'-'

0 commit comments

Comments
 (0)