From bb4e08c0766487b150fad4ec3ee301d765d413d3 Mon Sep 17 00:00:00 2001 From: Csaba Tuncsik Date: Tue, 18 Oct 2022 15:22:33 +0200 Subject: [PATCH] fix(editor): show null value in table view (#4346) * fix(editor): remove code that never runs from table view * fix(editor): show null in table view * fix(editor): handle nil values properly * fix(editor): add double quotes around strings * fix(editor): remove unused function * Revert "fix(editor): remove code that never runs from table view" This reverts commit 167312d0592db5a975c710a5249a5b806bf8f9c5. * fix(editor): applying Max's review --- .../editor-ui/src/components/RunDataTable.vue | 17 +++++++++++------ 1 file changed, 11 insertions(+), 6 deletions(-) diff --git a/packages/editor-ui/src/components/RunDataTable.vue b/packages/editor-ui/src/components/RunDataTable.vue index b03fc9bb7..6a529cc35 100644 --- a/packages/editor-ui/src/components/RunDataTable.vue +++ b/packages/editor-ui/src/components/RunDataTable.vue @@ -103,9 +103,7 @@ @mouseleave="onMouseLeaveCell" :class="hasJsonInColumn(index2) ? $style.minColWidth : $style.limitColWidth" > - {{ - [null, undefined].includes(data) ? ' ' : data - }} + {{ getValueToRender(data) }}